Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
#### 🐛 Fixed
- Fix `AnnotationSupport` not unsubscribing from `AnnotationTopic` at unmount which causes tow annotations to be created from `SelectionActionAnnotate` in React development mode.
- Fix undo/redo history not working after panning or pinch-zoom gesture on touch devices.
- Fix keyboard hotkeys for selection actions not working after focusing on search input then clicking back on the selection box.

## [0.31.1] - 2025-11-18
#### 🐛 Fixed
Expand Down
3 changes: 3 additions & 0 deletions src/widgets/selection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,9 @@ class StatefulMoveController {
positions,
command: RestoreGeometry.capturePartial(elements, []),
};
// Re-focus on canvas when clicking on the selection box
// to allow keyboard hotkeys for selection actions to work
canvas.focus();
};

private isToggleSelectionEvent(e: React.MouseEvent): boolean {
Expand Down