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

pointlayer图层touchstart、touchmove、touchend等触摸事件 #2268

Closed
147369wjl6 opened this issue Jan 23, 2024 · 7 comments · Fixed by #2259
Closed

pointlayer图层touchstart、touchmove、touchend等触摸事件 #2268

147369wjl6 opened this issue Jan 23, 2024 · 7 comments · Fixed by #2259
Assignees
Labels

Comments

@147369wjl6
Copy link

147369wjl6 commented Jan 23, 2024

问题描述 bug

pointlayer图层touchstart、touchmove、touchend等触摸事件均不支持,导致触摸屏上无法响应图层触击;

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

11
22

补充说明(可选)

No response

Copy link
Contributor

hi @147369wjl6, welcome!

@github-actions github-actions bot added the good first issue Good for newcomers label Jan 23, 2024
Copy link
Contributor

Hi @147369wjl6, Please star this repo if you find it useful! Thanks ⭐!
你好 @147369wjl6。如果该仓库对你有用,可以 star 一下,感谢你的 ⭐!

@danjiao888
Copy link

@heiyexing 我也遇到这问题,期待尽快升级

@lzxue
Copy link
Contributor

lzxue commented Jan 24, 2024

touchstart、touchmove、touchend,使用 mousedown ,moudsemove ,mouseup 不行吗?

@shiruicha
Copy link

touchstart、touchmove、touchend,使用mousedown,moudsemove,mouseup不行吗?
无效,在触屏上添加这些均无效;

image

@lzxue lzxue linked a pull request Jan 24, 2024 that will close this issue
21 tasks
@lzxue
Copy link
Contributor

lzxue commented Jan 25, 2024

touchmove 是不不需要,touchmove 其实是地图拖拽事件了

@shiruicha
Copy link

touchmove不是必须的,touchmove其实就是拖地图拖拽事件了

地图拖拽事件是可以在触屏上响应,无需touchmove也可以,主要是其他触摸事件

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

Successfully merging a pull request may close this issue.

5 participants