Skip to content

Support keyboard hotkeys for the focused canvas#71

Merged
AlexeyMz merged 1 commit into
masterfrom
canvas-hotkeys
Jun 10, 2025
Merged

Support keyboard hotkeys for the focused canvas#71
AlexeyMz merged 1 commit into
masterfrom
canvas-hotkeys

Conversation

@AlexeyMz
Copy link
Copy Markdown
Member

  • Allow to specify arbitrary hotkeys to ToolbarAction and SelectionAction components;
  • Export useCanvasHotkey() hook to bind a hotkey from any canvas widget;
  • Add hotkeySelectAll prop to Selection, hotkeyFocus prop to UnifiedSearch;

* Allow to specify arbitrary hotkeys to `ToolbarAction` and `SelectionAction` components;
* Export `useCanvasHotkey()` hook to bind a hotkey from any canvas widget;
* Add `hotkeySelectAll` prop to `Selection`, `hotkeyFocus` prop to `UnifiedSearch`;
* Fix non-updating `Navigator` due to missing `scroll` events from canvas;
@AlexeyMz AlexeyMz merged commit bf09c93 into master Jun 10, 2025
4 checks passed
@AlexeyMz AlexeyMz deleted the canvas-hotkeys branch June 10, 2025 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant