Skip to content
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

Bug: The scroll bar suddenly jumps to the bottom during editing #2913

Closed
tsinglemon opened this issue Aug 30, 2022 · 1 comment · Fixed by #2917
Closed

Bug: The scroll bar suddenly jumps to the bottom during editing #2913

tsinglemon opened this issue Aug 30, 2022 · 1 comment · Fixed by #2917
Assignees

Comments

@tsinglemon
Copy link

Restore the scene
When a scroll bar appears in the editor and the cursor is at the middle height of the editor, and then press Enter a few times, the scroll automatically jumps to the bottom of the editor's visible area

https://youtu.be/c4gLvtnA3Zg

try to locate the problem
I found that when I commented this line of code, there was no problem.

element.scrollIntoView(false);

截屏2022-08-31 04 20 34

@tsinglemon tsinglemon changed the title The scroll bar suddenly jumps to the bottom during editing Bug: The scroll bar suddenly jumps to the bottom during editing Aug 30, 2022
@trueadm trueadm self-assigned this Aug 31, 2022
@trueadm
Copy link
Collaborator

trueadm commented Aug 31, 2022

Thanks for reporting this. Fixed in #2917 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants