-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Editor scrolls to the top with every stroke under certain conditions #436
Comments
cc/ @jholmes033169 |
In the Kitchen Sink entry you can note that the editor is scrolled to the bottom when the page is loaded. If you disable the visual editor component and replace it by the raw editor, the issue disappear. It seems to be linked to a prosemirror issue and more generally to the contenteditable behavior ... Any idea of workaround ? |
I ran into this bug this morning when I was a text widget within a list widget that had an image populated. I guess it's not related to that specific implementation though necessarily. I'll follow the rabbit hole later in the day if I have time to confirm it's the same issue as here. |
In fact there is 2 different issues :
|
Added #532 as a possibly lower-hanging stopgap for this issue. |
I believe this may be addressed under #254:
|
Closed in #254. |
- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
When an image in the editor preview pane is taller than the viewport, and there's not much other content, whenever the preview pane rerenders (every input change and field focus change) the remaining content finishes rendering before the image, causing the preview pane to scroll to the top due to lack of content. The control pane then scrolls to stay synced.
- If the current behavior is a bug, please provide the steps to reproduce.
In the CMS example project:
- What is the expected behavior?
Not this.
The text was updated successfully, but these errors were encountered: