Open w0pp opened 9 months ago
Tried to reproduce it on Chrome on MacOS but couldn't. Will try with Windows as well.
Meanwhile, I really fail to see any connection between Notify and the virtual scroll of a QSelect, but might be useful information for the real culprit.
@rstoenescu Did you have any luck reproducing it on Windows? I just tried it on 2 different PCs in Chrome, the bug happened on both.
Seems like the bug has something to do with q-notifications__list--center
divs -- if I delete them, or make them not take up the entire page height, the bug disappears.
I'd say this is a bug in virtual scroll, not in the Notify plugin, since the mentioned divs aren't anything special, just fullscreen divs with fixed position.
Here's a temporary workaround if you don't mind not being able to display centered notifications:
.q-notifications__list--center
top: unset
What happened?
When you include the
Notify
plugin inquasar.config.js
, virtual scroll breaks. See the provided example where holding the scrollbar still makes the virtual scroll scroll to the bottom.What did you expect to happen?
Virtual scroll behavior should not change when including the
Notify
plugin.Reproduction URL
https://stackblitz.com/edit/quasarframework-cyj7tr?file=src%2Fpages%2FIndexPage.vue
How to reproduce?
Video: https://i.imgur.com/fDAxVJm.gif (notice how the cursor isn't moving but virtual scroll is)
If you remove
Notify
from plugins inquasar.config.js
, the virtual scroll will then work correctly -- it won't scroll by itself.Note: the StackBlitz example uses an older Quasar version, but the bug also happens in the latest version (v2.14.5).
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Plugins (quasar)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
No response
Additional context
No response