[Bug]: Command Exec scrolls without scrollIntoView
See original GitHub issueWhat happened?
Im using the following code snippet for enabling an bullet list in my editor
this.editor.commands.toggleBulletList().exec();
Besides not using the scrollIntoView Function the window is still scrolled to the editor after execution. If this is not a bug, how do I prevent such behaviour?
Version
v12.2.2
What browsers are you seeing the problem on?
Chrome
Link to reproduce
No response
Relevant log output
No response
Willing to submit a PR?
No response
Issue Analytics
- State:
- Created a year ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
scrollIntoView() not working as expected. Acts as if get() not ...
scrollIntoView () not working. Produces the error: SyntaxError: Failed to execute 'querySelector' on 'Document': '0' is not a valid selector.
Read more >Scroll Element into View with Selenium - Stack Overflow
I tested it. This code works on Firefox Webdriver 2.48 but there is a bug: When you have an iframe in a page...
Read more >3 WebdriverIO Tips: Scrolling Elements w/JS Execute (Tip #3)
In this WebdriverIO Automated Testing Tutorial, we will be learning how to scroll inside of elements using the ' scrollIntoView ' JS command, ......
Read more >How to Scroll into view in Selenium Webdriver
It was a little challenging to scroll for each element. In Selenium we can do this with scrollIntoView(true) which can scroll automatically till ......
Read more >163911 – window.find does not scroll with overflow:auto ...
We should, and we can re-use existing "scroll into view" code for ... WebCore::Editor::Command::execute WebCore::Document::execCommand So we ...
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
Thanks, works like a charm!
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.