I have a website with a scrollable div
. It works well, but I also need an absolutely positioned div
on top of it - and it still needs to scroll smoothly without any hindrance.
You can check out a basic JSFiddle demonstration here: http://jsfiddle.net/41rawrks/
When you try to scroll the div
using the mouse wheel or trackpad, the scrolling is interrupted when the cursor hovers over the other element. Is there a way to fix this issue?
I suspect that the DOM stops recognizing the cursor as being over the scrollable element once it reaches the draggable one (even though the draggable element is placed absolutely within the scrollable element).
How can I resolve this problem?
I didn't think it was feasible, but I found a site that accomplishes it!