Skip to content

Commit 41dc8ad

Browse files
committed
feat(VE-5544): allow click in csr app with modifier key
1 parent 645b7f7 commit 41dc8ad

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/visualBuilder/listeners/mouseClick.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ async function handleBuilderInteraction(
7878
if (eventTarget?.getAttribute("data-studio-ui") === "true") {
7979
return;
8080
}
81+
82+
if (params.event.altKey) {
83+
if (isAnchorElement) {
84+
params.event.preventDefault();
85+
params.event.stopPropagation();
86+
}
87+
return;
88+
}
8189
// prevent default behavior for anchor elements and elements with cslp attribute
8290
if (
8391
isAnchorElement ||

0 commit comments

Comments
 (0)