-
Notifications
You must be signed in to change notification settings - Fork 815
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 has no effect in most cases #2578
Comments
@rodrigogiraoserrao one for you I think |
So we should go over the query results and focus the first thing that is matched by the query and that is focusable, right? |
Exactly. |
AH |
Yeah, makes sense now. We could take the easy route of making |
Or we just fix the tests. Yeah, lets just fix the tests. |
I'm already fixing the tests o7 |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
Testing with modal02.py in /docs/examples/guide/screens AUTO_FOCUS doesn't appear to work.
Looking at the code, there doesn't appear to be any check that the thing being auto focused is actually focusable. Suspect it is trying to focus some unrelated widget.
The text was updated successfully, but these errors were encountered: