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

debounce move event.preventDefault无效 #598

Open
Mojie-Wang opened this issue Apr 23, 2023 · 1 comment
Open

debounce move event.preventDefault无效 #598

Mojie-Wang opened this issue Apr 23, 2023 · 1 comment

Comments

@Mojie-Wang
Copy link

https://github.com/fengyuanchen/viewerjs/pull/429
图片移动到屏幕外优化 move函数加防抖后 limit event.preventDefault 无效 不加防抖移动端体验较差
Microsoft Edge: 112.0.1722.58
viewerjs: 1.11.3
lodash.js: 4.17.21

demo: https://codepen.io/mojie-wang/pen/gOBgdjR?editors=0010

@fengyuanchen
Copy link
Owner

请再描述清楚一点。

PS: 移动端图片能移动到屏幕外吗?

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