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

Allow scroll prevention on hash change #31921

Merged
merged 4 commits into from Feb 7, 2022
Merged

Commits on Nov 29, 2021

  1. Allow scroll prevention on hash change

    Currently, `scrollToHash` is performed on every hash change, even when this change is caused by `<Link scroll={false} {...props} />`.
    This change prevents scrolling in this case and allows users to specify the desired scrolling behavior in the router's `hashChangeComplete` event.
    wouterraateland committed Nov 29, 2021
    Copy the full SHA
    c790b26 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2022

  1. Copy the full SHA
    7554cad View commit details
    Browse the repository at this point in the history
  2. Add test case and apply fixes

    ijjk committed Feb 6, 2022
    Copy the full SHA
    0d574a3 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. Copy the full SHA
    6ac2a2e View commit details
    Browse the repository at this point in the history