-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add: Command click to select item on table view. #59563
Add: Command click to select item on table view. #59563
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +54 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
1322627
to
2f34967
Compare
2f34967
to
dd7c7e7
Compare
Catching up now! Looks good, but let's keep an eye on this one, because there are no real precedents for capture-time listeners in Gutenberg. This feels too easy, it could backfire. ;) |
Just noting a small issue that occurs on the templates page where some items are un-selectable. There's a quick flash where the checkbox appears checked, then unchecks itself: flash.mp4 |
Thanks! Fix at #59697. @jorgefilipecosta, see if you agree with my change in ViewGrid. |
This PR adds cmd + click/ ctrl + click as a way to select items on table view matching grid view behavior.
It takes advantage of onClickCapture react API (thanks @mcsf for the tip).
What?
Open the pages list wp-admin/site-editor.php?path=%2Fpages.
Verify it is possible to select table items by clicking and pressing cmd on any part of the table row.