You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Anti-hysteresis code causes loss of focus occasionally. #33435
Reported by @eyun-tv (thank you for the report and the clear reproduction case!):
"I write a demo use DefaultFocusTraversal with ReadingOrderTraversalPolicy
But , I find when you press up or down , sometimes , the focus will lose .
I record a video https://vimeo.com/338635739 for show this bug
My flutter version is master and my tv box is android 9"
I took a quick look, and it seems to be related to the anti-hysteresis code that makes sure we follow the same reverse path as we took forward, probably having to do with reaching the end of the history but not doing anything in that case.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
urwork commentedon Jun 6, 2019
I have the same problem.
I print all nearestScope children in focus scope _handleKeyPress
I found the FocusNode number is less than list view items .
I think maybe because the list view just keep the visible items , but remove the hide items .
How to fix this ? Maybe need a FocusListView ?
eyun-tv commentedon Jun 10, 2019
Is there any schedule for fix this ?
Can I just simple disable history or clear history ? How to do this ?
github-actions commentedon Aug 29, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.