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

Regression: touch to simulate hover on scatter plots #1967

Closed
alubbock opened this issue Aug 22, 2017 · 7 comments
Closed

Regression: touch to simulate hover on scatter plots #1967

alubbock opened this issue Aug 22, 2017 · 7 comments
Labels
regression this used to work

Comments

@alubbock
Copy link

On touch devices, scatter plots used to have "touch to simulate hover" in Plotly 1.28.3, but this seems to have been removed in Plotly 1.29 and later. Is this a regression/bug?

Can touch to simulate hover (Plotly 1.28.3):
https://codepen.io/anon/pen/YxvzZR

Cannot touch to simulate hover (Plotly latest - 1.30.0 at time of writing):
https://codepen.io/plotly/pen/WvPgPP

The two examples are the same except for the Plotly version. Behaviour verified on Ipad running iOS 10.3.2 and a mobile phone running Android 6.0

@etpinard
Copy link
Contributor

Some native touch interactions were added in #1804 and released in 1.29.0.

On touch devices, scatter plots used to have "touch to simulate hover"

I'm not sure what you're referring to here. Can you be more specific?

@alubbock
Copy link
Author

On the desktop, hovering the cursor over data points shows the y-axis values and the trace labels by default (shown below). On mobile/tablet, tapping on the plot near data points would achieve the same effect on Plotly 1.28.3 - it was a way to see the actual trace values, which doesn't now seem possible on mobile devices.

image

@bluppfisk
Copy link

Confirmed on Firefox and Chrome on Nokia 6 (Android 7.1) and iPad Air 2 (iOS 11).

@swiperii
Copy link

I also have these problems.

@etpinard

Some native touch interactions were added in #1804 and released in 1.29.0.

What does this mean for the ability to select points on touch events?

I can currently handle point selection logic from mouse events (using the onClick=... prop in react-plotly.js). How can I get the same behaviour for touch events? I tried the touchHandler method demonstrated in this codepen example (as referenced in #480 but it doesn't seem to work anymore.

@Haimrik
Copy link

Haimrik commented Feb 3, 2018

Subscribed. Any solution for that?
On the latest v1.33.1 i still cant do the touch on mobile like on v1.28.3

@RichardNeill
Copy link

This also affects large (wall-mounted) touchscreens using traditional desktop browsers.

@fourgates
Copy link

I'm using the latest, 1.40.1, and this issue still persists. Is there any progress or ETA on this?

Since this worked but is now broken, is this something a contributor could help fix?

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

No branches or pull requests

7 participants