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

Fix scroll to top #126

Merged
merged 3 commits into from
Apr 18, 2023
Merged

Fix scroll to top #126

merged 3 commits into from
Apr 18, 2023

Conversation

JeffersonBledsoe
Copy link
Member

This PR fixes an issue where links were not scrolling back to the top of the page. The asyncPropsExtenders used in both this package and volto-siteinfo were not set to run only on the server. This caused the redux loadProtector counter to fall out-of-sync and cause the delayed URL that the ScrollToTopComponent uses to not be updated.

@JeffersonBledsoe JeffersonBledsoe merged commit da6bdee into main Apr 18, 2023
@JeffersonBledsoe JeffersonBledsoe deleted the scroll-to-top branch April 18, 2023 22:27
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.

1 participant