Skip to content

Enable swipe from left and from right in OH admin pages#1249

Draft
DigiH wants to merge 2 commits into
openhab:developfrom
DigiH:swipe
Draft

Enable swipe from left and from right in OH admin pages#1249
DigiH wants to merge 2 commits into
openhab:developfrom
DigiH:swipe

Conversation

@DigiH

@DigiH DigiH commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Keeping as draft until this can be properly checked with the current swipe from right to show the Sidemenu.

Possibly only integratable once the sidemenu change to a popup has been implemented.

Signed-off-by: DigiH <17110652+DigiH@users.noreply.github.com>
Replace allowsBackForwardNavigationGestures (which adds both left- and
right-edge gestures) with a custom left-edge UIScreenEdgePanGestureRecognizer
that calls window.history.back() via JS. This eliminates the right-edge
WKWebView gesture that was competing with SideMenu's right-edge swipe,
causing the current page to flash when swiping to open the side menu.

Signed-off-by: Tim Mueller-Seydlitz <timbms@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants