This behavior might actually be intended, but to me its a bug. If you set your scroll button to right-click, you still won't be able to scroll over the left-click forbidden elements such as links and embeds.
I made the following change in the onMouseDown handler to fix this issue:
This behavior might actually be intended, but to me its a bug. If you set your scroll button to right-click, you still won't be able to scroll over the left-click forbidden elements such as links and embeds.
I made the following change in the onMouseDown handler to fix this issue:
Edit: I tried to emphasize the part that I added, but I couldn't find a way to do that inside a code-block using Markdown syntax.
I added an additional check to make sure that the event button was set to 1 (left-click):
ev.button == 1