Fixed header with reveal prop doesn't reshow itself on page navigation while loading plugin is active #12994
Labels
area/components
area/plugins
bug/0-needs-info
Need more info to reproduce
flavour/vite-plugin
Bugs related to Vite usage with Quasar
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
When scrolled down on a page with the fixed header hidden due to the reveal prop and clicking on a link that navigates to another page. If the page has a q loading plugin active then the header will not reappear. This is occuring do the fact the q loading plugin sets qScrollPrevented to true. If qScrollPrevented is true when the onPageScroll function is called in QLayout via the onScroll event then the $Layout.scroll is never updated which the QHeader watches.
What did you expect to happen?
For the QHeader to not appear disappeared on the page navigated to.
Reproduction URL
https://github.com/kalvenschraut/vitejs-vite-uswlyh/tree/master
How to reproduce?
I had a lot of issues reproducing consistently on the stackblitz site but I have narrowed down what exactly the problem by debugging in my applications code. I feel like the scroll object needs to be updated regardless if scroll is prevented for cases like mine.
Flavour
Vite Plugin (@quasar/vite-plugin)
Areas
Components (quasar), Plugins (quasar)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: