Skip to content

Keep mobile sidebar thread titles stable on touch - #4114

Merged
ymichael merged 1 commit into
mainfrom
bb/i-m-running-into-a-bug-where-tapping-the-mobile-thr_8u5kthgaif
Sep 22, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/i-m-running-into-a-bug-where-tapping-the-mobile-thr_8u5kthgaif

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

A tapped thread row can retain synthesized :hover on a coarse mobile pointer. The hover rule reserves 30px beside the title, while the compact touch reset used a less specific selector, so the title shortens on the first tap. This reproduces the visual symptom from the Android Chrome report. In emulated mobile Chrome, navigation still succeeded before the fix, so the reported missed navigation remains unconfirmed locally. Related #3832 also tracks wider touch layouts, which this change does not address.

What changed

The compact coarse-pointer reset now matches both the hovered/focused row selector and the explicitly open actions selector, keeping the title at zero added right padding. A focused CSS regression test covers those selector states. No wire, CLI, or guide contracts changed.

How you verified

  • pnpm exec turbo run test typecheck --filter=@bb/app: 556 test files passed, 1 skipped; 5,080 tests passed, 6 skipped; typecheck passed.
  • pnpm start:worktree --dryrun and pnpm start:worktree passed after rebasing onto origin/main.
  • In a 390px touch viewport on the optimized build, right-edge taps on both seeded rows navigated to their routes, closed the sidebar, and kept added title padding at 0px. Replaying the pre-fix CSS selector produced 30px under hover; the corrected selector produced 0px.
  • At a 1280px fine-pointer viewport, desktop hover still revealed the actions and reserved 30px.
  • git diff --check passed.

AGENT GENERATED

@ymichael
ymichael merged commit cfc8d68 into main Sep 22, 2026
16 checks passed
@ymichael
ymichael deleted the bb/i-m-running-into-a-bug-where-tapping-the-mobile-thr_8u5kthgaif branch September 22, 2026 23:08
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