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

在火狐上面拖动图片的话,会打开一个新窗口 #3

Closed
bensamin opened this issue Nov 29, 2018 · 1 comment
Closed

在火狐上面拖动图片的话,会打开一个新窗口 #3

bensamin opened this issue Nov 29, 2018 · 1 comment

Comments

@bensamin
Copy link

image
只要拖动图片就会新增一个窗口,解决方法是增加一个全局的取消默认事件
document.body.ondrop = (event)=> { event.preventDefault(); event.stopPropagation(); }

@wenyuan
Copy link
Owner

wenyuan commented Dec 6, 2019

感谢提出该bug并提供解决方案。

@wenyuan wenyuan closed this as completed Dec 6, 2019
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