You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug A clear and concise description of what the bug is.
I'm building a "select" component, much like the Emoji Picker example, where the floating element contains a search input to filter the select options below it.
Typically, the list navigation hook will scroll to the selected item (if present) when opening the popover:
However, when the search input is present, the autoscroll-on-open doesn't happen:
Expected behavior A clear and concise description of what you expected to
happen.
The popover should scroll to the selected element on open, even if an input is present.
Context:
OS: macOS Ventura 13.4.1
Browser: Chrome Version 123.0.6312.123, Firefox 124.0.2
The text was updated successfully, but these errors were encountered:
What if the input isn't part of the same scrolling container? The UI is problematic to begin with since the input is hidden if it scrolls to the item. The input and listbox should scroll separately so the input is always visible?
Describe the bug A clear and concise description of what the bug is.
I'm building a "select" component, much like the Emoji Picker example, where the floating element contains a search input to filter the select options below it.
Typically, the list navigation hook will scroll to the selected item (if present) when opening the popover:
However, when the search input is present, the autoscroll-on-open doesn't happen:
To Reproduce
I have prepared two sandboxes (based on the Emoji Picker and Virtualized Select examples)
Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to
happen.
The popover should scroll to the selected element on open, even if an input is present.
Context:
The text was updated successfully, but these errors were encountered: