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
[QInput] When in autogrow
mode, ancestor container unexpectedly scrolls to top when input
#15023
Comments
I've run into this as well. I solved it by turning off auto-grow and dynamically computing the rows Prop:
const notesRows = computed(() => { let result = 5; const usedrows = scopeNotes.value ? scopeNotes.value.split( result = Math.min(15, Math.max(5, usedrows)); return result; }); |
… scroll (regressing from fixing firefox undo) quasarframework#15023
… scroll (regressing from fixing firefox undo) quasarframework#15023
… scroll (regressing from fixing firefox undo) quasarframework#15023
Fix will be available in Quasar v2.10.3 and v1.22.3 |
What happened?
If
QInput
component is inautogrow
mode and is placed in a scrollable container, when scrolling down container, and then change content inQInput
, the container unexpectedly scrolls to top.What did you expect to happen?
the container won't scroll when inputting
Reproduction URL
https://stackblitz.com/edit/quasarframework-wjsmsl?file=src/App.vue
How to reproduce?
QInput
component , until length of theQInput
component big enough so that the parentdiv
element becomes scrollableQInput
Flavour
Vite Plugin (@quasar/vite-plugin)
Areas
Components (quasar)
Platforms/Browsers
Chrome, Safari
Quasar info output
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: