-
Notifications
You must be signed in to change notification settings - Fork 24
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
chore: [DHIS2-18737] Scroll to top when navigating in the app #3947
base: master
Are you sure you want to change the base?
Conversation
This reverts commit 3caf6bc.
…_NavigationWrapperHook
🚀 Deployed on https://deploy-preview-3947.capture.netlify.dhis2.org |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found 2 places left out in EmptyPrograms and OverflowMenu. Could you replace the history there as well? Thanks!
Quality Gate passedIssues Measures |
DHIS2-18737:
useNavigate
function.scrollToTop
prop, defaulting totrue
.history.push
calls with the hook.