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

[Menu] Don’t scroll menus in response to hover #2451

Merged
merged 1 commit into from
Jun 11, 2024

Commits on Mar 6, 2024

  1. Don’t scroll menus in response to hover

    By default, when a menu item is focused, browsers will scroll it into view.
    Sometimes even into the centre of the view. This is good when using a keyboard,
    because the focused item is automatically visible, but when it was focused in
    response to mouse movement, it has the effect of moving the item out from
    underneath the pointer.
    
    Fixes radix-ui#1566
    cpmsmith authored and benoitgrelard committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    0173093 View commit details
    Browse the repository at this point in the history