Open ats1999 opened 2 years ago
@ats1999 Thank you for the issue. and sorry for the late reply. It looks like a scroll propagation. I'll check it.
This is likely very a result of Prosemirror issue 1028
I was able to come up with a workaround by applying the change from this commit
Along withapplying style 'position:sticky;' to a parent of the editor to halt additional scrolling.
Describe the bug
I copied a large amount of code and pasted it, it automatically scrolls the page.
To Reproduce
Steps to reproduce the behavior: Watch the below video.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
https://user-images.githubusercontent.com/54087826/166146999-89c7ae8b-33bb-464e-a0a5-b1d0db8e72ed.mov
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.