-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
EnhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Browsing between selectables should trigger scroll to always show where the selectable is.
Describe the solution you'd like
Just compare selected_index to scroll_offset to check if the scrollable is in visible area, otherwise scroll the diff amount.
Describe alternatives you've considered
Tried to implement myself by overriding select() and handle_key(), couldn't make it work, scroll is irresponsive.
Is this feature present in other TUI products?
I don't know.
Additional context
Can be reproduced like this : Window -> Container -> [Button, Button, Button ...]
Metadata
Metadata
Assignees
Labels
EnhancementNew feature or requestNew feature or request