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

Bug: Geochart - AddListener 'select' not working on iOS when html tooltip is true #1597

Open
orwant opened this issue May 9, 2015 · 10 comments
Assignees

Comments

@orwant
Copy link
Collaborator

@orwant orwant commented May 9, 2015


In Geocharts, when the using html tooltips, the 'select' event listener won't get triggered
on iOS devices. 

tooltip: {isHtml: false} = Select Listener will work. > http://jsfiddle.net/cmoreira/LFrdP/
tooltip: {isHtml: true} = Select Listener will NOT work in iOS > http://jsfiddle.net/cmoreira/NBMs5/


What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?
GEOCHART

Are you using the test environment (version 1.1)?
Tried with 1 and 1.1, doesn't work in both versions


What operating system and browser are you using?
iOS


*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by cmoreira.wp on 2014-05-21 00:33:09

@orwant

This comment has been minimized.

Copy link
Collaborator Author

@orwant orwant commented May 9, 2015

After a quick investigation, I have determined that the reason this is happening is
because the wrong element gets the click event. I can't imagine why this would happen,
since our codepath as it relates to events within the GeoChart itself does not change
when you switch to an HTML tooltip. We may be able to circumvent the issue by using
touch events instead of click, hover, etc., but this seems more like a Safari bug than
anything else. However, before reporting the bug to them, we would need a distilled
example, which I'm not confident we can generate, as I'm not entirely sure what is
causing the event to fall through.

I will investigate both of these possibilities eventually, but due to the amount of
unknowns in this issue, I do not have an ETA for you.

Original issue reported on code.google.com by grabks@google.com on 2014-05-22 18:24:28

@orwant

This comment has been minimized.

Copy link
Collaborator Author

@orwant orwant commented May 9, 2015

Thank you for looking into this! 
I tested in other browsers in iOS, it doesn't seem to work on Chrome and Dolphin also.
In case the info helps.

Original issue reported on code.google.com by cmoreira.wp on 2014-05-22 19:46:14

@orwant

This comment has been minimized.

Copy link
Collaborator Author

@orwant orwant commented May 9, 2015

Hi, thanks for checking. 

Looks like it's related to iOS. I checked also on Android and works fine. 

Original issue reported on code.google.com by adnan.akbas on 2014-05-22 19:51:33

@orwant

This comment has been minimized.

Copy link
Collaborator Author

@orwant orwant commented May 9, 2015

Any news about this?

Original issue reported on code.google.com by adnan.akbas on 2014-07-21 14:15:48

@orwant

This comment has been minimized.

Copy link
Collaborator Author

@orwant orwant commented May 9, 2015

Verified that this is also a problem for a 'regionClick' event as well on iOS 7, if
the tooltip is set to HTML. 

Original issue reported on code.google.com by fireflystats on 2014-09-26 04:51:07

@orwant

This comment has been minimized.

Copy link
Collaborator Author

@orwant orwant commented May 9, 2015

Any update on this? 

Original issue reported on code.google.com by cmoreira.wp on 2014-12-16 12:51:11

@orwant

This comment has been minimized.

Copy link
Collaborator Author

@orwant orwant commented May 9, 2015

Hi everyone,

It's still unclear to us what exactly is causing this issue, but whatever it is, it
appears to be a Safari bug. The reason it's happening in Chrome and Dolphin is because
those browser effectively use Safari WebViews, and those will work in the same ways
and have the same bugs as Safari.

Original issue reported on code.google.com by grabks@google.com on 2014-12-22 22:06:27

@orwant

This comment has been minimized.

Copy link
Collaborator Author

@orwant orwant commented May 9, 2015

hello,
do you have some update here please?
Thanks.
Roman

Original issue reported on code.google.com by roman.renert on 2015-03-26 21:05:46

@carmoreira

This comment has been minimized.

Copy link

@carmoreira carmoreira commented May 13, 2016

Hi
Seems this issue is still present after one year and several updates on Safari.
Is there any workaround we can implement to have the HTML tooltips with the select event working on iOS devices?

@mengsel

This comment has been minimized.

Copy link

@mengsel mengsel commented May 15, 2019

Hi guys 4 years down the road from initial report but we're still getting complaints that charts (tooltips) are misbehaving on Safari/Chrome on iOS. Any news on a fix or workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.