Skip to content

fix: a file row's actions appear over the end of the row on hover instead of keeping an empty column - #203

Merged
bencode merged 1 commit into
mainfrom
fix/resource-row-actions-overlay
Oct 23, 2026
Merged

bencode merged 1 commit into
mainfrom
fix/resource-row-actions-overlay

Conversation

@bencode

@bencode bencode commented Oct 23, 2026

Copy link
Copy Markdown
Owner

The file tree reserved a column for each row's actions (reference, star, save as, remove), so every name stopped well short of the panel edge and the column stood empty until a row was hovered.

With a mouse (hover: hover), the actions now sit over the end of the row:

  • On hover, or when keyboard focus is in the row, they appear on the right, with the name fading out beneath them. The hover tint spans the whole row.
  • At rest only a starred file's star shows. Hidden buttons are visually clipped rather than removed, so screen readers still find them and Tab still reaches them.
  • A click on the faded edge goes through to the row and opens the file.
  • Clicking an action with the mouse no longer leaves the row's actions stuck open; the row reveals them on :focus-visible, not :focus-within.

Touch screens (hover: none) keep the previous layout with every action always shown.

Checked in the browser: tree rows, a long name, the active row, the starred list and keyboard focus. pnpm check passes.

…tead of keeping an empty column beside every name
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