-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyondWork surrounding upgrading and evolving views in the site editor and beyond[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] DataViews/packages/dataviews/packages/dataviews[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
In grid mode for dataviews users can hide the media thumbail (in the screenshot 'Hide Image') by toggling from the 'View options' menu:
When doing this, the checkboxes for items are hidden (they're rendered as part of the media), and it makes items unselectable, and also makes it impossible to see which items are selected (the selection state is still retained).
Step-by-step reproduction instructions
- Open the storybook story
- Switch to grid layout
- Select a couple of random items using the checkbox
- From the View Options menu, hide the Image
Actual: Note that you can no longer see selected items, nor can you (de)select more
Expected: The checkbox is still displayed after hiding the image, perhaps next to the title.
Screenshots, screen recording, code snippet

Environment info
No response
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
andrewserong
Metadata
Metadata
Assignees
Labels
[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyondWork surrounding upgrading and evolving views in the site editor and beyond[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] DataViews/packages/dataviews/packages/dataviews[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended