dillon1000/react
Commit
Browse files 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.
Changed paths1 file
First-parent comparisonsrc/shared/utils/ReactErrorUtils.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…