home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.99k stars 2.72k forks source link

Hold action hard to achieve #20888

Open michalk-k opened 4 months ago

michalk-k commented 4 months ago

Checklist

Describe the issue you are experiencing

It's a long-lasting problem, found years ago. Reported to iOS section but recently I've been redirected to the frontent sub project:

I can confirm the same behavior in HA Application (iOS) as well as in the browser (Safari).

The issue is, that hold action is very sensitive to a finger movement, when attempting to achieve the hold. Initially, I thought it was about any movement. But recently I found, it's related to vertical scroll (maybe because only vertical scroll is triggered on my HA pages). Anyway, when pressing an item for long-press, any little movement of a finger that leads to even slight vertical scrolling of the page (vertical scroll bar appears), interrupts a time after which press should turn into long-press.

It makes it extremely difficult to achieve long-press.

Note, that this vertical scrolling appears even if the page content doesn't overflow (so there is no need for vertical scrolling at all)

Describe the behavior you expected

The long-press should be as usable as in native iOS

Steps to reproduce the issue

  1. press card/button which supports hold action
  2. before it triggers the hold action, move the finger vertically
  3. the hold action will be interrupted

What version of Home Assistant Core has the issue?

core-2024.4.4

What was the last working version of Home Assistant Core?

never

In which browser are you experiencing the issue with?

Safar, iOS application

Which operating system are you using to run this browser?

iOS 16

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

jhemak commented 4 months ago

+1 for this ... it's very frustrating to use and a fix would be most welcome! I find myself very often triggering the tap action even though I am trying very hard (too hard!) to long press just perfectly to trigger the hold action.

github-actions[bot] commented 1 month ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

jhemak commented 1 month ago

Please keep open

michalk-k commented 1 month ago

Confirmed.

Once we lose interest in replying to a dumb bot before devs even look at this. And it will not be the first time over here.