blockly-samples
blockly-samples copied to clipboard
Remove Gesture checks from shortcut preconditions
Check for duplicates
- [x] I have searched for similar issues before opening a new one.
Component
plugin-cross-tab-copy-paste
Problem
If keyboard-navigation is also used, new context menu items are added which use the precondition from the old shortcuts. This means the precondition expects that there is not an in-progress gesture in order to enable the option. Because a gesture is always in progress when right-clicking a block, the option always ends up disabled.
Request
Replace the gesture check with an in-progress drag check, similar to https://github.com/google/blockly/pull/9107
Alternatives considered
No response
Additional context
No response