Skip to content
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

Keyboard navigation should skip disabled widgets in collections of widgets #3881

Closed
rodrigogiraoserrao opened this issue Dec 15, 2023 · 1 comment · Fixed by #3912
Closed
Assignees
Labels
bug Something isn't working Task

Comments

@rodrigogiraoserrao
Copy link
Contributor

  • SelectionList and OptionList allow highlighting disabled items (with keyboard & mouse) but don't allow selection.
  • ListView allows highlighting with keyboard but not with mouse (and doesn't allow selection).
  • As of Ignore disabled radio buttons when moving selection. #3872, RadioSet doesn't allow neither navigation nor selection.

I feel like we should disable navigation everywhere and instead Up / Down should only go through enabled children.

See #3839 (comment) for more context.

Copy link

github-actions bot commented Feb 1, 2024

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant