home-assistant / home-assistant/iOS

Buttons in bottom safe area accidentally triggered when swiping up to dismiss app (home indicator gesture)

Open
#4,658 0 comments 0 reactions 0 assignees View on GitHub
bug ios
Dominant language
Swift
Stars
2.4k
Forks
520
Avg merge
7h 27m
Merged PRs (30d)
264

Description

**iOS device model, version and app version**

Model Name: iPhone 17 Pro Max
Software Version: iOS 26.5, HA App 2026.4.1 (1904)
App version:

**Home Assistant Core Version**

2026.5.4

**Describe the bug**
When swiping up from the bottom of the screen to close the app or open
the app switcher, buttons placed near the bottom of the dashboard
(within or close to the safe area) are accidentally triggered. The
touch event from the home indicator gesture appears to register on
interactive elements underneath it before iOS intercepts the swipe

**To Reproduce**
1. Place a button card near the bottom of a dashboard
2. Swipe up from the bottom edge to close the app / open the app switcher
3. Observe that the button action is triggered unintentionally

**Expected behavior**
The bottom safe area should not pass touch events to buttons beneath
the home indicator. iOS safe area insets should prevent interactive
elements from being tappable in that region.

**Screenshots**

![image](https://github.com/user-attachments/assets/fb7e841c-8373-48fd-88c1-98dce401c1ea)

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.