Frank Mawn
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Frank Mawn
-
-
Hi everyone,
I've been playing around with Draggable and noticed a strange behavior.
The mousedown event works fine if I add the eventListener to a draggable element using the lockAxis setting, but the default "x,y" won't trigger it.
Am I missing something?
I've put a link to a codepen which illustrate the issue. The green box will trigger the mousedown (right-click) and the red one is not.
See the Pen Jrqvrb by FrankMawn (@FrankMawn) on CodePen
Draggable - Weird interaction with mousedown
in GSAP
Posted
Wow, thanks @PointC ! Worked like a charm
I couldn't find this option anywhere in the Draggable doc, maybe an oversight?
Sorry for the double post.