brrd / abricotine

Markdown editor with inline preview
GNU General Public License v3.0
2.63k stars 156 forks source link

Scrolling problems with trackpad #183

Open xlambein opened 7 years ago

xlambein commented 7 years ago

Hello,

I've noticed a bug when using abricotine on my laptop: the "two-fingers" scrolling is not smooth at all. It's hard to describe, but basically, when scrolling a document, the scroll bar will move slowly and kind-of "vibrates" back and forth. This does not happen when clicking on and dragging the actual scroll bar, or when using a scroll wheel on a mouse. I'm guessing this has something to do with horizontal scrolling messing things up?

xlambein commented 7 years ago

I've tried recording a video to show the problem, but it's actually quite hard to realize what's happening when you're not the one scrolling yourself. Anyway, here's the recording I've made:

output2

brrd commented 7 years ago

What is your OS?

xlambein commented 7 years ago

Oops, yup, I forgot about that. I'm on Ubuntu 17.04 with Unity, but I already had the problem on 16.10.

brrd commented 7 years ago

Do you get the same issue in this editor: http://codemirror.net/demo/complete.html If possible please try both Chrome (or Chromium) AND any other browser. Can you also get the same issue in Atom editor (https://atom.io/)? Thank you.

xlambein commented 7 years ago

The editor works fine on Firefox, but I have the same problem on Chrome. Atom, on the other hand, works well.

brrd commented 7 years ago

OK so this is obviously an issue with CodeMirror in Chromium based browsers. You should maybe create an issue in https://github.com/codemirror/CodeMirror/issues to get this fixed.