Skip to content

Hover Box on Mobile Using Touch Input #281

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

Open
rjgrandy opened this issue May 7, 2023 · 8 comments
Open

Hover Box on Mobile Using Touch Input #281

rjgrandy opened this issue May 7, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@rjgrandy
Copy link

rjgrandy commented May 7, 2023

Be able to show the hover box on the mobile using touch. Currently today it only works on the mouse.

@rjgrandy rjgrandy added the enhancement New feature or request label May 7, 2023
@dbuezas
Copy link
Owner

dbuezas commented May 7, 2023

I'd love this to work. It is unfortunately not available in plotly:
plotly/plotly.js#1858

Maybe we can solve it at least for this card like i did with pinch to zoom

@Phiraptor
Copy link

I'd love to see this, too. Since I use HA on a tablet this is a feature I really miss.

@VIMVa
Copy link

VIMVa commented Mar 22, 2024

I do see a 'hover box' when doing a double-tap-and-hold on a point in a line graph on my phone but the most important information of it's contents is hidden below my resting=holding finger. And the box closes immediately when moving that finger before I am able to read (as an example) the temperature of that point.
Is that the 'hover box' you are looking for and if so: is it possible to move the box away from the holding finger or keep it active for a second or two after (re)moving the finger?
Great graph card BTW!

@adegenkolbe
Copy link

adegenkolbe commented Jul 16, 2024

hi @dbuezas . thanks for this great card. any news on this ?

@dbuezas
Copy link
Owner

dbuezas commented Jul 16, 2024

Unfortunately not. Follow the plotly issue linked above

@adegenkolbe
Copy link

adegenkolbe commented Jul 22, 2024

@dbuezas thanks for your answer.
I just wondering why it is working in the plotly examples (see https://plotly.com/javascript/line-charts/).
At least i can click on a point and see the Hover Box.
Or is this something different, because basically that's what i would like to have for the moment 🙂

Thanks in advance
BR Andy

@adegenkolbe
Copy link

@dbuezas are there any news here ? i know that issue is still open, but when you go to the examples page you can touch on the line and see the hover box. So somehow it seems to work.

@dbuezas
Copy link
Owner

dbuezas commented Dec 2, 2024

Double tap and hold brings the tooltip. Now sure why it doesn't work on single tap. Maybe someone can try updating plotly before I have time to debug this

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

No branches or pull requests

5 participants