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

🐛移动端 图表滑动到边缘 页面滚动条无法滚动 #2857

Closed
2 of 5 tasks
zjs307065909 opened this issue Aug 12, 2024 · 5 comments · Fixed by #2891
Closed
2 of 5 tasks

🐛移动端 图表滑动到边缘 页面滚动条无法滚动 #2857

zjs307065909 opened this issue Aug 12, 2024 · 5 comments · Fixed by #2891
Assignees
Labels
🐛 bug 这个是一个 bug next 2.0-next 版本的问题 released on @next

Comments

@zjs307065909
Copy link

zjs307065909 commented Aug 12, 2024

🏷 Version

Package Version
@antv/s2
@antv/s2-react
@antv/s2-vue

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

2.0版本 移动端 图表按住滑动到边缘 页面滚动条无法滚动 图表有无数据皆不能滚动页面
1.0版本 完全正常

⌨️ Code Snapshots

🔗 Reproduce Link

2.0地址:
https://s2.antv.antgroup.com/zh/examples/case/performance-compare/#table
1.0地址:
https://s2-v1.antv.antgroup.com/examples/basic/table/#table

🤔 Steps to Reproduce

打开提供的链接
F12 移动端模式下 修改canvas高度和可视区域高度 显示出网页滚动条后 鼠标滚轮 页面向下滚动一些 按住数据网上拖拽即可复现 无法滑动问题
相同操作 1.0版本可以拖动

😊 Expected Behavior

早日排期 尽快恢复

😅 Current Behavior

💻 System information

Environment Info
System
Browser
@sgf1205
Copy link

sgf1205 commented Aug 15, 2024

支持早日解决该问题,我暂时是将生成的canvas中的touch-action属性设置为auto解决的

canvas.style.touchAction = 'auto'

@lijinke666 lijinke666 self-assigned this Aug 16, 2024
@lijinke666 lijinke666 added the 🐛 bug 这个是一个 bug label Aug 16, 2024
Copy link
Contributor

你好 @zjs307065909,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.

Hello, @zjs307065909, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v2.0.0-next.28 🎉

The release is available on:

Your semantic-release bot 📦🚀

@zjs307065909
Copy link
Author

🎉问题已在版本 @antv/s2-v2.0.0-next.28 中得到解决 🎉

此新闻稿可在以下网站获取:

您的**报价发布**机器人📦🚀

这么改不行 应该是虚拟滚动到边缘再改变canvas的touchAction
直接去掉touchAction 导致虚拟滚动也不好用了 滚动了整个页面

@lijinke666
Copy link
Member

🎉问题已在版本 @antv/s2-v2.0.0-next.28 中得到解决 🎉
此新闻稿可在以下网站获取:

您的**报价发布**机器人📦🚀

这么改不行 应该是虚拟滚动到边缘再改变canvas的touchAction 直接去掉touchAction 导致虚拟滚动也不好用了 滚动了整个页面

@zjs307065909 直接来 PR 吧, 期待

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug 这个是一个 bug next 2.0-next 版本的问题 released on @next
Projects
None yet
3 participants