Skip to content

Fixed long-press conversation menu (#6, BUG-008)

Choose a tag to compare

@Paladin173 Paladin173 released this 22 Jun 02:52

🐛 Bug Fix

Long-press conversation menus now open correctly on Android (#6)

Long-pressing a conversation in the sidebar previously showed nothing — or just a thin sliver. The action menu (Rename, Pin, Archive, and more) now opens full-size, exactly like it does in mobile web.

Root cause

Android System WebView evaluates CSS 100vh as 0. Hermes WebUI caps its floating menus with:

max-height: calc(100vh - 16px);

…which collapsed to 0px, rendering the menu as a ~2px line with its items scrolled out of view. (Same viewport-unit quirk the app already handles for 100dvh.)

The fix

The menu height is now re-capped with the measured viewport height inside the existing WebUI viewport-compatibility shim (recomputed on resize / orientation), so menus size to their content and keep their entrance animation.


Version: 0.1.4-pre-release (versionCode 5) · Changelog: BUG-008

Full Changelog: v0.1.3...v0.1.4-pre-release