Skip to content

fix(web): keep sidebar popovers open after a tap on touch screens - #785

Merged
nixuuu merged 1 commit into
devfrom
fix/mobile-popovers-close-immediately
Nov 15, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/mobile-popovers-close-immediately

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 15, 2026

Copy link
Copy Markdown
Member

Problem

On touch screens (mobile browsers) the sidebar Updates and Provider usage popovers close right after a tap opens them.

Touch fires pointerleave right after the tap, before its click. At that moment the popover isn't pinned yet, so leave() schedules the 250 ms hover close; the click then opens the popover and the timer closes it.

Fix

Only a mouse leaving schedules the close, as HoverCard already does. On touch, a tap toggles the popover.

Verification

  • Local: oxfmt on the two edited files (no changes). Lint, typecheck and tests are left to CI.
  • Not checked yet on a real phone or in mobile emulation.
  • Copy audit: no UI text changes.

Fixes: #726
Related: #98

🤖 Generated with Claude Code

Touch fires pointerleave right after the tap, before its click, so the
hover close timer shut the Updates and Provider usage popovers as soon
as the tap opened them. Only a mouse leaving closes them now.

Fixes: #726
Related: #98

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nixuuu
nixuuu enabled auto-merge (squash) November 15, 2026 07:11
@nixuuu
nixuuu merged commit 8668cd6 into dev Nov 15, 2026
11 checks passed
@nixuuu
nixuuu deleted the fix/mobile-popovers-close-immediately branch November 15, 2026 07:20
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.

1 participant