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] Scrolling pauses on Chrome 102 #6923
Comments
mustafamunawar
changed the title
Bug: Major scrolling bug on latest Chrome 102
Bug: Major scrolling bug on Chrome 102
May 29, 2022
mustafamunawar
added a commit
to mustafamunawar/CodeMirror-1
that referenced
this issue
May 29, 2022
Closed
mustafamunawar
changed the title
Bug: Major scrolling bug on Chrome 102
[Bug] Scrolling pauses on Chrome 102
May 29, 2022
Thanks for figuring out a workaround! I've pushed an alternative, somewhat more complicated patch, since many CodeMirror setups rely on mouse interaction with the content actually hitting the elements in the editor (for example unfolding by clicking a fold marker). |
marijnh
added a commit
to codemirror/view
that referenced
this issue
May 30, 2022
FIX: Work around a bug in Chrome 102 which caused wheel scrolling of the editor to be interrupted every few lines. Issue codemirror/codemirror5#6923
If projects no "harassing" outdated browsers so for a few months possible change |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Info: When using the mouse wheel to scrolls, there are pauses every few scroll units. Makes scrolling unusable.
Reproduce: Go to the CodeMirror demo site (https://codemirror.net/index.html) and add large enough text. Now, try scrolling with the mouse wheel. The bug should manifest.
Fix: The fix seems simple: set pointer-events "none" on CodeMirror-sizer. How did I figure this out? I guessed that Chrome was not able to target the parent "CodeMirror-scroll", thus causing scroll issues.
Please let me know if there is a better, less-hackish fix than this.
The text was updated successfully, but these errors were encountered: