Skip to content

Button on the dashboard gets triggered when switching tabs in the Home Assistant mobile app for iOS #140714

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

Closed
mariusz-schimke opened this issue Mar 16, 2025 · 4 comments

Comments

@mariusz-schimke
Copy link

mariusz-schimke commented Mar 16, 2025

The problem

For quite some time, I've noticed instances where our garage door opens unexpectedly, and no one in the family knows who triggered it. After observing these occurrences, I discovered that sometimes, when switching between dashboard tabs, a button on the newly opened tab is activated without any user interaction. I have finally managed to reproduce and record this issue—please see the attached video.

In the video, the main garage door button is located on the first (default) tab of the dashboard. Here’s the sequence of actions that leads to the issue:

  • I navigate to another tab.
  • I open a popup and interact with a drop-down menu, ensuring that the popup has focus.
  • I return to the first tab by closing the popup and tapping the tab’s icon at the top.
  • At this moment, the garage door button is activated, even though I never touched it.

This unintended behavior seems to be the reason why the garage door occasionally opens on its own.

Could you investigate this issue and determine what’s causing it? I’m not entirely sure which specific steps trigger the bug, but I suspect it may be related to the popup and how focus is handled when switching tabs.

Please review the attached video for reference. The last second of the recording shows me manually closing the gate by clicking the down arrow—this is unrelated to the issue and can be ignored.

This refers to the Home Assistant mobile app for iOS.

What version of Home Assistant Core has the issue?

core-2025.3.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

ScreenRecording_03-16-2025.08-32-02_1.mov
@joostlek
Copy link
Member

Please open this issue in the iOS repository! Thanks!

@mariusz-schimke
Copy link
Author

Oh, my bad, thanks for your reply! I reposted this issue here.

@bgoncal
Copy link
Member

bgoncal commented Apr 22, 2025

I have transferred the issue to frontend, since the App is not in control of what is presented on the webview neither it's behavior.

@mariusz-schimke
Copy link
Author

@bgoncal, thanks, I appreciate it!

@github-actions github-actions bot locked and limited conversation to collaborators May 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants