Jump to content
Search Community

lake

Members
  • Posts

    7
  • Joined

  • Last visited

Community Answers

  1. lake's post in How can I control how draggable items are layered. was marked as the answer   
    Never mind. I figured it out...  My wrapper element did not have the css 'position' property set. that needs to be set for z-index to work. 
  2. lake's post in Draggable- element position is sometimes different from pointer\finger position was marked as the answer   
    I got it. Yes it turns out the pointer is out of sync because I was hit testing the wrapper div element attached to the directive. I was able to fix that by hit testing the inner div the image is attached to instead. 
     
     
    The behavior with the drag item accelerating across the screen only happens in my app (not in the codepen) in iOS/android and desktop Chrome/Safari..  I will have to do some digging there. Thank you for the tip about using the transform object's X,Y. 
×
×
  • Create New...