asvd / dragscroll

micro library for drag-n-drop scrolling style
http://asvd.github.io/dragscroll/
MIT License
1.1k stars 166 forks source link

Scrolling an element with the entire page #5

Closed aoueon closed 9 years ago

aoueon commented 9 years ago

This is very useful. Works great. But I'm trying to do something and it ends up with an element over the element I want to be scrolled, and the element over it is disabling scrolling for the one under.

Can anyone help me to make it so when I drag on the entire HTML page, a specific element to be scrolled?

asvd commented 9 years ago

Try to apply css-rule pointerEvents:none to the topmost element, then it should become transparent to mouse events.

aoueon commented 9 years ago

I will do that. Thank you very much!