react-email-editor icon indicating copy to clipboard operation
react-email-editor copied to clipboard

dragging affects other components

Open php4518 opened this issue 5 years ago • 1 comments

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.

php4518 avatar Mar 19 '19 14:03 php4518

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
            }

damiandzwigaj avatar May 14 '21 08:05 damiandzwigaj