question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Command Exec scrolls without scrollIntoView

See original GitHub issue

What 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:closed
  • Created a year ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jode-reflactcommented, May 11, 2022

Thanks, works like a charm!

0reactions
github-actions[bot]commented, Jun 12, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found