Skip to content
Open
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
7 changes: 6 additions & 1 deletion web/libs/datamanager/src/sdk/hotkeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ export const useShortcut = (
// Yield to editor (LSF) hotkeys when the labeling panel is active.
// The flag is set by Label.jsx when labeling starts and toggled via
// pointerdown tracking so clicks on the DM table re-enable DM shortcuts.
if (document.body.dataset.lsfLabeling === "true") return;
if (
document.body.dataset.lsfLabeling === "true" &&
["dm.close-labeling", "dm.open-labeling"].includes(actionName)
) {
return;
}

callback();
},
Expand Down
Loading