atlassian / react-beautiful-dnd

Beautiful and accessible drag and drop for lists with React
https://react-beautiful-dnd.netlify.app
Other
33.37k stars 2.56k forks source link

Event not fire in StrictMode #2306

Open NV4RE opened 3 years ago

NV4RE commented 3 years ago

Every thing look fine No error nor warning message in console, drag/drop animation look promising but onDragEnd, and onDragStart won't firing at all

Expected behavior

Event should fire properly, or show error message in console

Actual behavior

Event not firing, console empty.

Steps to reproduce

When \ are under

Suggested solution?

Just give a hint, maybe console.error ?

What version of React are you using?

"react": "^17.0.2", "react-dom": "^17.0.2",

What version of react-beautiful-dnd are you running?

"react-beautiful-dnd": "^13.1.0",

What browser are you using?

Google Chrome Version 93.0.4577.63 (Official Build) (64-bit)

Demo

https://codesandbox.io/s/using-react-beautiful-dnd-with-hooks-forked-e13qi?file=/src/index.js:1126-1144

alex-demchenko commented 10 months ago

Confirm, issue still exists in 13.1.1