Fixed Position Draggable Element Scrolls Offscreen
|Reported by:||NMcCloud||Owned by:|
If a fixed position element is made draggable, and that element is then moved beyond the scrollbar region, it will accelerate off screen. The only way this behavior does not occur is if the scroll is already at the top or bottom of the window. Its rather comical.
This used to work in 10.4, which I am trying to migrate from (i.e. it would simply push the element at a constant rate up or down)
<div id="a" style="width:50px;height:100px;position:fixed;top:300px;left:200px;background:red"></div> <div style="width:50px;height:5000px;position:absolute;background:blue"></div> <script> $("#a").draggable(); </script>