react-dnd / react-dnd

Drag and Drop for React
http://react-dnd.github.io/react-dnd
MIT License
20.97k stars 1.99k forks source link

Basic drag and drop functionality stopped working after upgrading Chrome to version 97.0.4692.71 #3355

Open buigabor opened 2 years ago

buigabor commented 2 years ago

Describe the bug After upgrading my Chrome to version 97.0.4692.71 the basic 'drag an item and just drop it' functionality stopped working. Looks like the isOver boolean is always false from the useDrop hook.
However, everything seems to work fine if I use Firefox (95.0.1) or the previous version of Chrome (96.0.4664.45)

Reproduction

https://codesandbox.io/s/musing-sky-wy9nj

Steps to reproduce the behavior:

  1. Drag the red card
  2. Drop into green dropzone
  3. You should get an alert message if the drop was successful

It works with Firefox, not with Chrome (97.0.4692.71) though.

Desktop (please complete the following information):

vaurat commented 2 years ago

Hi! Thank you to confirm the issue i just submitted https://github.com/react-dnd/react-dnd/issues/3354.

rik-smit commented 2 years ago

Problem seems to be solved in the latest beta (98.0.4758.54)

ibarrick commented 2 years ago

For those who arrive from Google, the issue re-surfaced in 102.0.5005.61 but was fixed in a later release.