Skip to content

Commit 3cde18e

Browse files
committed
chore: add changeset
1 parent c64801c commit 3cde18e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.changeset/selfish-timers-add.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'react-select': patch
3+
---
4+
5+
Use an internal member to check if control onMouseDown should act and remove logic to bail out from an event if someone else listening to the event (usually in a capture phase) has called preventDefault().
6+
7+
This change was initiated to fix the interop between react-select and react-beautiful-dnd.
8+
But has meaning on its own because it is pretty clear that using the `defaultPrevented` event property for custom logic is a really bad practice.
9+
So, another way to filter when we want to trigger control onMouseDown normal logic has to be better defined and developed.
10+
11+
Nothing to update from the consumers.

0 commit comments

Comments
 (0)