-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
scrollBehavior scroll to top not working if the Loading plugin is active #13202
Comments
Underlying issue appears to be same as I noted in #12994 |
To add: looks like the issue happens regardless if I was using Because this happens even with |
I'm experiencing a similar issue with QLayout and QInfiniteScroll with skeleton loaders. When I scroll the page and change the route, the next page is not scrolled to top. This also happens when I don't use scroll behaviour at all |
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
… prevented; recalculate QDrawer belowBreakpoint when document becomes scrollable quasarframework#12811, quasarframework#13257, quasarframework#13202
What happened?
When navigating between pages with overflowing content, the position of the scroll seems to be preserved even if we've set
scrollBehavior
in the Vue Router settings to scroll to top. This seems to only happen ifLoading.show
andLoading.hide
happened between navigation (more info on the codesandbox example).What did you expect to happen?
I expected that the next page's scroll position would be at the top.
Reproduction URL
https://codesandbox.io/s/async-cookies-qlh7tb
How to reproduce?
Flavour
Quasar CLI (@quasar/cli | @quasar/app)
Areas
Plugins (quasar), SPA Mode
Platforms/Browsers
Firefox, Chrome, Microsoft Edge
Quasar info output
Relevant log output
No response
Additional context
If you remove the usage of
Loading.show
andLoading.hide
in thebeforeRouteEnter
inpages/Details.vue
, navigation to this component will scroll to top (expected behavior).The example have the same page height, This still will happen regardless if they have the same height or not, as long as the page has overflowing content.
The text was updated successfully, but these errors were encountered: