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

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

Closed
CurtisCBS opened this issue Nov 2, 2016 · 8 comments
Closed

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

CurtisCBS opened this issue Nov 2, 2016 · 8 comments
Labels

Comments

@CurtisCBS
Copy link

问题简述 (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事件位置有错?

@jarben
Copy link
Contributor

jarben commented Nov 2, 2016

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 ?

@pissang pissang added the bug label Nov 3, 2016
@pissang
Copy link
Contributor

pissang commented Nov 3, 2016

Sorry about that. Already fixed ecomfe/zrender@3e1bcda

@jarben
Copy link
Contributor

jarben commented Nov 3, 2016

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

@pissang
Copy link
Contributor

pissang commented Nov 3, 2016

Yes we will release a quickfix version a few hours later

@jarben
Copy link
Contributor

jarben commented Nov 3, 2016

Great to hear this, many thanks!

@foyel
Copy link

foyel commented Nov 3, 2016

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

@pissang
Copy link
Contributor

pissang commented Nov 3, 2016

@jarben
Copy link
Contributor

jarben commented Nov 3, 2016

Awesome, thanks @pissang , will test asap!

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

No branches or pull requests

4 participants