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

Scroll to top only if the location pathname changes #2635

Merged
merged 3 commits into from
Sep 1, 2021

Conversation

kreafox
Copy link
Contributor

@kreafox kreafox commented Aug 24, 2021

No description provided.

@tiberiuichim
Copy link
Contributor

The discussion at team meeting was to only ignore the hash. So the location.pathname + location.search should be used as criteria.

Also document this behavior (scroll to top happens if pathname or search parameters change) in some Volto documentation

@tiberiuichim
Copy link
Contributor

@kreafox See above

@sneridagh sneridagh merged commit 9960ac5 into master Sep 1, 2021
@sneridagh sneridagh deleted the fix-scroll-to-top branch September 1, 2021 10:48
sneridagh added a commit that referenced this pull request Sep 1, 2021
* master:
  Back to development
  Release 13.13.0
  Prepare for release
  Showing version in History view (#2634)
  Fix SearchWidget required pathname (#2646)
  Fix content tags modal (#2641)
  Cut/Copy blocks: fixed cut/copy unselected blocks. (#2638)
  Fix QueryWidget styling (#2636)
  Bump tar from 6.1.6 to 6.1.11 (#2648)
  Bump tar from 6.1.8 to 6.1.11 in /packages/generator-volto (#2647)
  Scroll to top only if the location pathname changes (#2635)
  Disabled all the other configuration options when user did not choose… (#2629)
  Update pt_BR translation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants