-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AUTO_FOCUS targets first focusable widget. #2581
Conversation
Related issues: #2578.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm puzzled as to why so few tests broke.
I would have expected that every snapshot test with a button or other control will now render differently.
@rodrigogiraoserrao Have you checked auto focus works on the default screen? |
Related comments: #2581.
When the default screen is first created it was not getting the event ScreenResume. All other screens receive a ScreenResume when first created and _all_ screens (the default one and custom screens) receive this event when they become the active screen again, so this was kind of an edge case that needed the event to be posted by hand. Related comments: #2581
See 8399a31. |
Fixes #2578.