Clicking scrollbar changes cursor position

Clicking on the main scrollbar changes the cursor position. I don’t think it should do this; it doesn’t happen in other editors.

Example:

scrollbarclick

Which browser, and which version of @codemirror/view are you testing with?

Firefox or Chrome on Ubuntu, the current version on Try CodeMirror.

Oh, indeed, seems that fix had not been released yet. @codemirror/view 6.8.0 should include it.

1 Like

I don’t know what the issuse that you said.could you speak clearly. 3Q