Repository navigation
feat: add hoverable selection zone to tile checkboxes - #3471
Merged
Merged
Conversation
kulmann
approved these changes
Sep 28, 2026
kulmann
left a comment
Member
There was a problem hiding this comment.
Huge UX / A11y improvement! Nice!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
In the tiles view, the selection checkbox sits inside the tile's link. Its clickable area was only the checkbox plus a bit of padding, and that area gave no visual feedback. So a click that missed the checkbox by a few pixels opened the file or folder instead of selecting it.
This is a real problem in everyday use:
href. A near miss meant a full page load instead of a selection.What changes
bg-role-on-surface/10). The grey is slightly see-through, so it should also work on thumbnails, selected tiles and in dark mode.preventDefault()stops the tile link from being followed. Clicks on the checkbox itself are left alone on purpose. Cancelling those would make the browser untick the box after the selection has been saved.Screenshots
Hovering the checkbox corner of a tile:
Before, nothing marks the clickable area, and a near miss opens the item. After, the 44×44 zone lights up on hover, and any click inside it only selects.
Related Issue
How Has This Been Tested?
https://host.docker.internal:9201), Chrome on macOS, tiles viewtiles-size=1), the zone fits the tile and does not overlap the preview icon or the namepnpm test:unit --run packages/web-pkg/tests/unit/components/FilesList/ResourceTiles.spec.tspasses; ESLint and Prettier are clean for the changed fileTypes of changes