Skip to content

Scroll combo_box options on keyboard navigation - #3422

Open
EmmanuelDodoo wants to merge 3 commits into
iced-rs:masterfrom
EmmanuelDodoo:combo_box-qol
Open

Scroll combo_box options on keyboard navigation#3422
EmmanuelDodoo wants to merge 3 commits into
iced-rs:masterfrom
EmmanuelDodoo:combo_box-qol

Conversation

@EmmanuelDodoo

Copy link
Copy Markdown
Contributor

The current combo_box widget supports navigating its options using the arrow keys but doesn't scroll up/down when the options are out of the viewport. This PR fixes that.

Before
https://github.com/user-attachments/assets/12e24c69-7966-4fb2-b6a0-975e24034f0b

After
https://github.com/user-attachments/assets/48ee6059-8cee-45be-8142-fa33cabfaf0b

@EmmanuelDodoo

Copy link
Copy Markdown
Contributor Author

I was able to fix the scroll so it only happens on the top/bottom edges of the menu

Recording.2026-08-13.143549.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant