echarts icon indicating copy to clipboard operation
echarts copied to clipboard

移动端 在图表上滑动 页面顶部闪烁抖动

Open Sapphire2k opened this issue 9 years ago • 7 comments

移动端 在图表上滑动 页面闪烁

在使用了 -webkit-overflow-scrolling: touch; 在图表上滑动,回弹的时候 会产生页面抖动的情况 去除后 消失, 希望能解决,在体验上能迈出一大步!谢谢!

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]: [email protected]
  • Browser version [浏览器类型和版本]: WkWebview
  • OS Version [操作系统类型和版本]: iOS 10.3

Expected behaviour [期望结果]

在使用原生回弹的情况下 页面正常显示,不抖动

ECharts option [ECharts配置项]

用的是 折线图 柱状图, 并且显示了 tips

Sapphire2k avatar Apr 13 '17 04:04 Sapphire2k

+1

juanha avatar Jun 30 '17 02:06 juanha

+1

yangzhenyin avatar Mar 06 '19 11:03 yangzhenyin

遇到了类似的ios 点击图表滚动的抖动问题,现在有啥办法处理吗?谢谢

wufeng87 avatar Jun 08 '20 07:06 wufeng87

tooltip: { enterable: true, // 去抖动 showDelay: 200, // 延迟显示 trigger: 'item', // 设置提示框 confine: true, // 限制图标内部 }, 您可以试一下在 tooltip 配置项内设置 tooltip 延迟显示,图表内部滑动在移动端导致页面抖动是因为 tooltip 弹框一直刷新显示导致的,希望对您有帮助. ------------------ 原始邮件 ------------------ 发件人: "wufeng87"<[email protected]>; 发送时间: 2020年6月8日(星期一) 下午3:04 收件人: "apache/incubator-echarts"<[email protected]>; 抄送: "牛顿"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [apache/incubator-echarts] 移动端 在图表上滑动 页面顶部闪烁抖动 (#5497)

遇到了类似的ios 点击图表滚动的抖动问题,现在有啥办法处理吗?谢谢

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

yangzhenyin avatar Jun 08 '20 07:06 yangzhenyin

在用于实例化图表的dom元素外层再包一层div元素,加overflow: hidden;即可!

shenjianbo avatar Sep 14 '20 09:09 shenjianbo

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar Sep 14 '22 21:09 github-actions[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar Sep 21 '22 21:09 github-actions[bot]