MR FIX IT
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by MR FIX IT
-
-
9 hours ago, GreenSock said:
I'm not sure what you mean. By default, Draggable has allowContextMenu set to false so that right-clicking (which normally brings up the context menu in the browser natively) doesn't interfere. You can set it to true if you prefer.
just to clarify my question I want add an add event listener during the onDrag event so while I'm dragging my element if I right clicked I re-place the draggable element where it was ... is there a way of doing that??
-
Hello ,
I have a question on Whether its possible to listen to another event (right click) while I'm on the onDrag with a draggable.Create
Thanks in advance .
-
Thank you Jack ,
even when using the second post's logic (I added the recommended fix ) there is a problem when reducing the width from the left the outer div is dragged even with disabling any drag events and stopping events propagation
-
Hello ,
while making the resize functionality on a draggable I kept having some issues
1- which is re-placing the resize handles after either release or dragEnd
in some cases the handle stays in the middle while in others the handle goes to the other side knowing that I kept re-placing after each event
2- while using the left handle the bounds aren't applied thus having the ability to infinitely resize from the left
please note the repositioning of the "mainDiv" is a bug from moving the code to codepen and its not present in the my code
thank you so much in advance ..
See the Pen PoREjQJ by mazthenew (@mazthenew) on CodePen
-
Thank you @mvaneijgen !!
-
Hello ,
I was trying to implement a Sortable based on the demo above and I ran into an issue with modifying the row size and each list item in my case the list items comes at different heights and by increasing the row size, item sized gaps appear then by keeping the row size at 100 then increasing the the height of an item it takes place on top of other items
Thank you
See the Pen ExEWbyQ by mazthenew (@mazthenew) on CodePen
Swap draggable if there is a hit test
in GSAP
Posted
Hello ,
I'm looking for ideas on what to do when I'm on the onDrag event if there is a hitTest replace the target's clone with another item without using pixels to move items and it actually looks nice
Thank you in advance
See the Pen GRdRMjJ by mazthenew (@mazthenew) on CodePen