dillon1000/react

Commit

Don't wrap drag events in IE/Edge in dev builds

Dev builds wrap synthetic events inside other events for a better debug
experience. However IE/Edge won't allow access to the
DataTransfer.dropEffect property if it's wrapped in this way.
The first time a drag event is fired, test if we're in an environment
that behaves this way and disable React's improved development
experience if we are.
Browse files
Changed paths1 file
First-parent comparison
M src/shared/utils/ReactErrorUtils.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…