Shopify / draggable

The JavaScript Drag & Drop library your grandparents warned you about.
https://shopify.github.io/draggable
MIT License
17.93k stars 1.09k forks source link

Duplicate Mirror gets created on iOS Safari if the draggable element contains a link #601

Open samuelraub opened 7 months ago

samuelraub commented 7 months ago

1. Apply either the bug or feature-request label

Couldn't apply a Label

2. Describe the Bug

On iOS Safari (I tested with 17.2.1) a duplicate mirror is created if you press and hold a draggable that contains a link long enough. This causes chaotic behaviour.

3. Please provide the steps to reproduce and if possible a minimal demo of the problem

  1. Open https://codepen.io/samuelraub/pen/eYXjQPL on an iPhone using Safari
  2. Tap and hold one of the list items for ~1sec
  3. Now try dragging the item

4. Please tell us about your environment: