echarts icon indicating copy to clipboard operation
echarts copied to clipboard

echarts3.0在iOS触发touch事件时报错

Open CurtisCBS opened this issue 10 years ago • 8 comments

问题简述 (One-line summary)

在iOS10 点击图表的时候会报错

TypeError: undefined is not an object (evaluating 'u.zrX')

版本及环境 (Version & Environment)

  • ECharts 版本 (ECharts version):3.3
  • 浏览器类型和版本 (Browser version):iOS 10 所有浏览器
  • 操作系统类型和版本 (OS Version):iOS10

重现步骤 (Steps to reproduce)

1.touch图表就会报错

期望结果 (Expected behaviour)

跟随鼠标显示当前touch位置的图表信息

可能哪里有问题 (What went wrong)

获取touch事件位置有错?

CurtisCBS avatar Nov 02 '16 09:11 CurtisCBS

Can confirm this on all touch devices, throws this: image

image

Demo: https://echarts-3-3issue.hyperdev.space (run this on mobile or Chrome / dev tools / mobile emulation)

Could this be looked at with priority @pissang ?

jarben avatar Nov 02 '16 12:11 jarben

Sorry about that. Already fixed https://github.com/ecomfe/zrender/commit/3e1bcda9414c8de7df992eeed770c6a6344c136e

pissang avatar Nov 03 '16 03:11 pissang

Thanks heaps @pissang! Are you planning to make a new release sometimes soon?

jarben avatar Nov 03 '16 05:11 jarben

Yes we will release a quickfix version a few hours later

pissang avatar Nov 03 '16 05:11 pissang

Great to hear this, many thanks!

jarben avatar Nov 03 '16 05:11 jarben

我也遇到这个问题,新版本已经发布了么?

foyel avatar Nov 03 '16 06:11 foyel

v3.3.1 released https://github.com/ecomfe/echarts/releases/tag/3.3.1

pissang avatar Nov 03 '16 08:11 pissang

Awesome, thanks @pissang , will test asap!

jarben avatar Nov 03 '16 09:11 jarben