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

[Feature] scroll 结束后,未取消阻止冒泡 #2037

Closed
zxtzelnpl opened this issue Jan 15, 2024 · 0 comments
Closed

[Feature] scroll 结束后,未取消阻止冒泡 #2037

zxtzelnpl opened this issue Jan 15, 2024 · 0 comments
Assignees

Comments

@zxtzelnpl
Copy link

What problem does this feature solve?

  1. 设置滚动后,进入绘图区域,无论是横向滚动还是纵向滚动,都是阻止事件冒泡,那么就无法触发页面的滚动了。
  2. 图表如不不需要滚动,画布完全可以展示的下,还是会阻止scroll时间的冒泡
    相关文档 https://www.visactor.io/vchart/guide/tutorial_docs/Chart_Concepts/Scrollbar

What does the proposed API look like?

  1. 如果滚动条是横向滚动的,则不应该阻止纵向的滚动事件的冒泡。
  2. 如果滚动条是纵向滚动的,则不应该阻止横向的滚动事件的冒泡。
  3. 如果滚动已经结束,或无法滚动,则应该取消 阻止冒泡的事件。
xile611 added a commit that referenced this issue Jan 17, 2024
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