-
-
Notifications
You must be signed in to change notification settings - Fork 78
The (plotly_click) output is not triggered when using mobile device #143
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
Comments
Hello @dmitriy-viniukov. I never tried My first doubt is: are you trying the click event on the mobile (thus, the ontoutchstart event) or using on the browser (thus, the onclick event)? |
@andrefarzat Thanks for fast response! So I am trying browser event:
In console I see 'click' twice when tapping on data point on mobile. Thanks in advance |
@andrefarzat small update: seems like the issue relates to Safari browser. (plotly_click) does not work there. Chrome is fine |
@dmitriy-viniukov this confirm what I was supposing: The |
@andrefarzat I have just tried in firefox and it does not work as well |
@andrefarzat So should I create a topic in |
@dmitriy-viniukov it's good to open an issue there. I made a search on the previous issues and looks like mobile isn't 100% supported: plotly/plotly.js#1858 I dunno if tap events are converted to click events, for example |
I am building hybrid app using angular with capacitor. On iphone, when I try to click on data point, the (plotly_click) output is not fired. I tried deprecated (click) and it works.
@andrefarzat Could you please take a look?
The text was updated successfully, but these errors were encountered: