Jump to content
Search Community

MR FIX IT

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by MR FIX IT

  1. 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??  

  2. 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

     

  3. 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

  4. 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

×
×
  • Create New...