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

Lovelace long-press does not work on Android/Chrome #1950

Closed
oyhaare opened this issue Nov 2, 2018 · 3 comments · Fixed by #2011
Closed

Lovelace long-press does not work on Android/Chrome #1950

oyhaare opened this issue Nov 2, 2018 · 3 comments · Fixed by #2011
Assignees

Comments

@oyhaare
Copy link

oyhaare commented Nov 2, 2018

Home Assistant release with the issue:
0.81.1

Last working Home Assistant release (if known):
n/a

Browser and Operating System:
Android/Chrome

Description of problem:
Testing out the long-press support from #1848...

I have a light configured with tap_action: toggle and hold_action: more-info
Long-press works fine on chrome desktop, but not in android.
When in android I have to be very careful to release the press at the same time as the "transparent circle" is drawn...
If i keep pressing too long, it will not register the long-press and not show the more-info dialog.

@kalkih
Copy link
Contributor

kalkih commented Nov 3, 2018

I can't get the hold_action to trigger at all on Android/Chrome (70.0.3538.80).

Works fine on desktop tho.

@zsarnett
Copy link
Contributor

zsarnett commented Nov 3, 2018

@thomasloven

I was able to get a GIF on the results on Android Chrome:

Phone on the left-> Developer Console on the right

Example

As you can see if I wait until I see the Purple circle it doesn't work but I hold and time it so its right as the circle appears or right before it appears it works.

Nothing in the console...

@Rocka84
Copy link

Rocka84 commented Nov 5, 2018

I can confirm this.

Not sure if it is important, but when I use the Developer Console to simulate a mobile device on my desktop, hold_action isn't working there either. Instead the right-click menu opens after (I guess) half a second.

@ghost ghost assigned thomasloven Nov 7, 2018
@ghost ghost added the in progress label Nov 7, 2018
@ghost ghost removed the in progress label Nov 11, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants