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

Improve element detection further #38684

Merged
merged 1 commit into from Jul 15, 2022

Commits on Jul 15, 2022

  1. Improve element detection further

    Follow-up to vercel#38682. Instead of checking if the full element is in the viewport we only check if the top of the element is in the viewport. If it is not we have to scroll back up in cases of navigating between items in the same layout for example.
    timneutkens committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    c30ad68 View commit details
    Browse the repository at this point in the history