Simon-He95/vue-markdown-renderer

Sudden scrolling on Editor in view

Closed this issue · 1 comments

Describe the bug

Hi, thanks for your time working on this project.
I really like it, and would like to use it in my project.

Unfortunately, I'm having some issues, with the current behavior when scrolling up after a reload.
I have attached a video of my problem.

When a user navigates to a chat, then they start at the last message they sent, so above that message, a bunch of messages can exist. But because of the loading behavior of the Monaco editor, then the scroll will jump, as soon as the editor comes into view.

https://zipline.home.binau.me/u/LdULxw.mp4

Used Package Manager

npm

Hi, I tried to reproduce this issue on my local environment but was unable to encounter the same problem. Could you please provide a minimal reproducible demo that triggers the issue? This would help a lot with troubleshooting. Thank you very much!