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

拖拽不能触发drop事件 #9287

Closed
150148313 opened this Issue Jan 8, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@150148313
Copy link

150148313 commented Jan 8, 2019

Version

2.5.21

Reproduction link

https://jsfiddle.net/erdongyuetian/0artyLxk/7/

Steps to reproduce

拖拽不能触发drop事件

What is expected?

拖拽不能触发drop事件

What is actually happening?

拖拽不能触发drop事件


拖拽不能触发drop事件

@Justineo

This comment has been minimized.

Copy link
Member

Justineo commented Jan 8, 2019

You need to prevent the default behavior of dragover event. Plz read the demo code on MDN more carefully.

@Justineo Justineo closed this Jan 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment