Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dragging affects other components #62

Open
php4518 opened this issue Mar 19, 2019 · 1 comment
Open

dragging affects other components #62

php4518 opened this issue Mar 19, 2019 · 1 comment

Comments

@php4518
Copy link

php4518 commented Mar 19, 2019

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.

@damiandzwigaj
Copy link

damiandzwigaj commented May 14, 2021

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
            }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants