Bug when using `ScrollTo()` method
See original GitHub issueDescribe the bug A bit similar to the #1866 I had previously opened.
In this case, when the ScrollTo
method runs for a few lines down and you try to type something, an error is thrown.
To Reproduce Steps to reproduce the behavior: In the screenshots
Expected behavior
Perhaps in this case, it would be correct for the cursor to go to the line that was defined in the parameter of the ScrollTo()
method
Screenshots
-
Before:
-
After pressing the
Ctrl
+CursorDown
key, which I put as binding in the code next to the console: -
I try to type anything and boom:
Desktop (please complete the following information):
- OS: Windows 10 21H2 - Build 19044.1826
- Browser: Edge
- Version: 103.0.1264.62
Issue Analytics
- State:
- Created a year ago
- Comments:13
Top Results From Across the Web
JavaScript scrollTo method does nothing?
Scrolling is done window by window. If you are in a frame that can't scroll, then nothing will scroll. If you want that...
Read more >ScrollViewProxy scrollTo will crash when scrolling outside ...
Make sure that the ScrollViewProxy object you are calling scrollTo() on is not nil. If it is nil, this could cause a crash....
Read more >Window: scrollTo() method - Web APIs - MDN Web Docs
Window: scrollTo() method. Window.scrollTo() scrolls to a particular set of coordinates in the document. Syntax.
Read more >Scrolling stops suddenly near bottom of page when using ...
This problem is happening in browsers in which the address bar is always visible. Tried running ScrollTrigger.refresh() on a 1 second interval ...
Read more >Element: scrollTo() method - Web APIs - MDN Web Docs
The scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay, thanks, I’ll do that, if it works, I’ll close this issue.
Now I understand, thank you.