When the editor has a post that is long enough to cause a vertical scrollbar on the browser, hitting ctrl+v to paste more text at the end of the post causes the window to scroll to the top of the page.
Expectation: the window should not scroll when text is pasted
Steps to reproduce
How to reproduce this isse:
Start making a new post
Paste enough content to make the post long
Paste text (ctrl+v on windows) while the scrollbar is not at the top
Observe that window has scrolled to the top
Screenshots
example of a post that is long enough to trigger this effect:
Environment
Device (ex. iPhone, Windows laptop): windows laptop
OS (ex. iOS, Windows): windows
Browser (ex. Chrome, Safari): chrome browser
Anything else?
Might be related to this? The comments have some suggestions for how to potentially address it.
What's wrong?
When the editor has a post that is long enough to cause a vertical scrollbar on the browser, hitting ctrl+v to paste more text at the end of the post causes the window to scroll to the top of the page.
Expectation: the window should not scroll when text is pasted
Steps to reproduce
How to reproduce this isse:
Screenshots
example of a post that is long enough to trigger this effect:
Environment
Anything else?
Might be related to this? The comments have some suggestions for how to potentially address it.
https://github.com/zenoamaro/react-quill/issues/394