interact.js icon indicating copy to clipboard operation
interact.js copied to clipboard

inconsistent drag and drop behavior with iOS 8

Open emaggini opened this issue 12 years ago • 1 comments

UPDATE: Turns out this is only an issue in simulator. So to anyone who reads this, if you see it in the emulator DON'T spend days trying to solve it. :) In my case, I only have simulator available to me until company pushes code to staging environment.


I am working on solving this bug myself and will post a solution if/when I find one, but I thought I would mention it here as well.

Steps to reproduce:

  1. Open a simulator or real iPad running iOS8+
  2. Open interactjs.io and go to drag and drop example.
  3. Drag item into drop area and observe it works as expected.
  4. Click "demo only" tab
  5. Attempt to drag and item from left to right.
  6. Observe that iOS "browser back" gesture interferes with drag and drop functionality.

I'm hacking through trying to debug and have also opened a freelancer project to try and solicit some help, but thought I'd bring it up here in case you have any words of wisdom.

Thanks!

UPDATE: hiding the code doesn't seem to be the factor. It seems to be that left 10-15% of screen activates "browser back" when dragging left to right.

emaggini avatar Oct 22 '14 19:10 emaggini

Sorry about the lack of a response. I'm glad you sorted this out. I don't have iThings or Mac things so I can't really test such issues easily. Thanks for posting your findings!

taye avatar Oct 23 '14 18:10 taye