react-email-editor
react-email-editor copied to clipboard
dragging affects other components
Hello, I am using react-email-editor and react-dropzone in the same project. my first page contains react-dropzone and another contains react-email-editor. Initially, when I drag and drop the file in react-dropzone, it works completely fine. once I drag component for email-editor, react-dropzone doesn't take dragged files. here is the demo. https://codesandbox.io/s/x39wxnx5lz
the issue is only with chrome. works fine with firefox.
same here you can even see unlayer is doing something with chrome
function pu(e) {
var t = /chrome/i.test(navigator.userAgent)
, r = window.location !== window.parent.location
, n = new N(e,undefined)
, o = n.handleTopDragEndCapture;
return t && r && (n.handleTopDragEndCapture = function(e) {
setTimeout((function() {
return o(e)
}
), 50)
}
),
n
}