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
I've got a Selector component that follows the pattern laid out in the Select primitive. When the component dropdown list reaches a certain size, we give the viewport a scroll bar, and that's where we are seeing the bug: when a user is hovering over an option, it's highlighted, but that highlight sticks and doesn't move focus with the item the mouse is hovering on. When the user moves their mouse slightly after scroll, focus corrects to the item their mouse is hovering over and the earlier highlight is removed.
This is only happening in Firefox. Chrome appears unaffected.
Expected behavior
Focus should follow mouse pointer and release from previous focus on scroll.
Bug report
Current Behavior
I've got a Selector component that follows the pattern laid out in the Select primitive. When the component dropdown list reaches a certain size, we give the viewport a scroll bar, and that's where we are seeing the bug: when a user is hovering over an option, it's highlighted, but that highlight sticks and doesn't move focus with the item the mouse is hovering on. When the user moves their mouse slightly after scroll, focus corrects to the item their mouse is hovering over and the earlier highlight is removed.
This is only happening in Firefox. Chrome appears unaffected.
Expected behavior
Focus should follow mouse pointer and release from previous focus on scroll.
Reproducible example
CodeSandbox Template
Suggested solution
Additional context
Your environment
The text was updated successfully, but these errors were encountered: