Files
wordcraft/crates
SofiaAFigueredoandClaude Sonnet 5 52fab678b6 Scope the File page's back-arrow hit area to the chevron
On Windows/Linux, the back arrow in the File (Backstage) page's side
panel was clickable across the whole 200px-wide row, not just the
chevron icon drawn at its left edge. Clicking anywhere in that row —
plain sidebar background to a user's eye — closed the File page the
same as clicking the arrow itself, with no visual cue it was
clickable.

Scope the click region to a narrow band around the chevron, the same
width already used for the macOS chevron fix (#2972). The row still
reserves its full 200x40 space for layout; only the interactive rect
shrinks.

Updated two tests that relied on the old oversized hit box to click
at the chevron's actual position, and added a regression test
asserting a click beside the arrow leaves the File page open.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-21 07:44:04 -03:00
..