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

Highcharts column chart on iPad not receiving click #1551

Closed
davidahopp opened this issue Feb 28, 2013 · 15 comments
Closed

Highcharts column chart on iPad not receiving click #1551

davidahopp opened this issue Feb 28, 2013 · 15 comments

Comments

@davidahopp
Copy link

Currently we are using Highcharts JS v2.3.5 (2012-12-19), on an iOS v6.1 device.

On the iPad, when using the column chart, the click event is not being properly triggered on the first click of the column. The first click triggers the mouseover, and a second click then triggers the click event.

I was able to reproduce this issue on the column demo page http://www.highcharts.com/demo/column-drilldown.

Thank you for looking into this,
David

@TorsteinHonsi
Copy link
Collaborator

Also reproducible with 3.0 Beta: http://jsfiddle.net/highcharts/xqtU2/1/show

@lyonfreitas
Copy link

any fix for this ?

@TorsteinHonsi
Copy link
Collaborator

Interestingly enough, this doesnt happen with the line-ajax demo. In that demo, the clicks are triggered on the first touch.

@davidahopp
Copy link
Author

We had to develop a workaround to solve this issue, and I have recreated it here: https://gist.github.com/davidahopp/5417465

@lyonfreitas
Copy link

davidahopp, i tried this, but if i hold the finger just to see the tooltip, it triggers the click.

On android, i hold the finger to see tooltip, and click to select the point (i think this must be the right way).

I bought the licence yesterday, and hope it will be fixed soon.

Any other fix will be welcome, thanks guys.

@gstroup
Copy link

gstroup commented May 8, 2013

I'm seeing the same problem on a pie chart, on iPad. First touch on a pie slice does not trigger the 'click' event. Second click does. This issue can be reproduced easily on http://www.highcharts.com/demo/pie-basic

@benjaminbasa
Copy link

Hi,

I'm encountering the same problems with touch device (iPad). After updating my highcharts.src.js(minified it) it worked with just one touch. But The problem now is my barcharts (type: column) displays as waterfall.

See attached image.

screen shot 2013-07-08 at 11 51 21 am

My settings
chart: {
type: 'column'
}

Thanks

@jasdmystery
Copy link

Hi, the fix to handle the touch event causes a flicker every time on touch. This is seen on the iOS and Android platforms. Please help fix this.

Thanks.

@TorsteinHonsi
Copy link
Collaborator

I can't see any flickering on http://www.highcharts.com/demo/column-drilldown. Can we see it somewhere else?

@jasdmystery
Copy link

I was able to remove the flickering using the CSS -webkit-tap-highlight-color: transparent. But, I still have another issue, the click event does not get triggered at all. Any solution for that?

@TorsteinHonsi
Copy link
Collaborator

Are you sure you are running the latest version of Highcharts? On http://www.highcharts.com/demo/column-drilldown there is no flickering, and the click event is triggered correctly. The trick with -webkit-tap-highlight-color is already implemented in the core.

@dipapazacharias
Copy link

I am using latest version of highcharts (6.0.7) and taping on legend item on iPad safari does not trigger
plotOptions.series.events.legendItemClick properly (for example a series goes off and on immediately, instead of hiding, and vice versa). It works only on holding tap for a while, or with double tapping. Can you look into it, or is there a workaround?

@pawelfus
Copy link
Contributor

Hi @dipapazacharias

Could you recreate issue in jsFiddle? We will take check this.

@abuzaforfagun
Copy link

@dipapazacharias I am getting same problem with highchart 6.1.0

@KacperMadej
Copy link

Hi @abuzaforfagun
Please recreate issue in jsFiddle, provide more info about the problem you have. This an old issue with a rather new comment (@dipapazacharias 's question) that seems to hit a dead end after Paweł's comment.

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

No branches or pull requests

10 participants