Sim
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Sim
-
-
Hi Jack,
Thank you for the fix in the Draggable-latest-beta.js. It works great.
However there is a an exception being thrown in IE8 when I call this line:
if( Draggable.hitTest(this, e) ){ }
File: Draggable-latest-beta.js
Line: 2127
Unable to get property 'getBoundingClientRect' of undefined or null reference
This is the faulty line:var r = (e.pageX !== undefined) ? {left:e.pageX - _getDocScrollLeft(), top:e.pageY - _getDocScrollTop(), right:e.pageX - _getDocScrollLeft() + 1, bottom:e.pageY - _getDocScrollTop() + 1} : (!e.nodeType && e.left !== undefined && e.top !== undefined) ? e : _unwrapElement(e).getBoundingClientRect();
Do you have an idea what is causing the error?
Thanks!
Simon
Draggable.hitTest in a scrolled window
in GSAP
Posted