Shortcuts: Delete multi selection shortcut triggered when clearing sidebar controls #37316
Labels
[Package] Block editor
/packages/block-editor
[Package] Keyboard Shortcuts
/packages/keyboard-shortcuts
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Current Behaviour:
While multiple blocks are selected, clearing values from inputs in the
BlockInspector
usingdel
orbackspace
, will trigger the keyboard shortcut to delete blocks, unexpectedly removing them.Expected Behaviour:
Using delete or backspace to clear values in a control such as the
UnitControl
would only clear that input's value not trigger removal of multiple blocks.Step-by-step reproduction instructions
del
orbackspace
keysNote: Typgraphy panel will not be visible for multiple selections until #37216 lands. This issue can also be replicated using line-height or letter-spacing if testing with that PR branch.
Screenshots, screen recording, code snippet
Screen.Recording.2021-12-13.at.2.15.39.pm.mp4
Environment info
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
The text was updated successfully, but these errors were encountered: