-
Notifications
You must be signed in to change notification settings - Fork 844
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
[BUG] Focused Input Widget inside a composed ListItem immediately loses focus #5391
Comments
I don't think this reliably works in earlier versions of Textual either. If you try clicking between the different Inputs a few times, sometimes the click will focus the outer ListView rather than the Input widget. I understand this is only a MRE, but do you actually need to use ListView rather than a simple container? |
Nah I could use a container too, would also be more appropriate |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
If I create a custom
ListItem
with anInput
Widget, it immediately loses focus when selected, writing into it is not possible, except by clicking and holding the mouse down while writing. I tested the same MRE with v0.88.0, focusing the Input worked there.MRE:
The text was updated successfully, but these errors were encountered: