Hello!
I think there is a problem when scrolling inside a container that has overflow: auto
and is scaled with a transform
. Try here: create a long document, place the caret in the middle, scroll to the beginning, and click “scroll to caret”.
I don’t know if this is correct, but perhaps scrollRectIntoView
in prosemirror-view
should adjust moxeX/moveY
according the the scaling?
Or is there a better way to achieve this scaling without affecting the scrolling?
Thanks!