Skip to content

Commit 32b2bb6

Browse files
committed
🐛 Fix right click in bubble text editor selects the group
Closes #920
1 parent a43d047 commit 32b2bb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/builder/src/features/blocks/bubbles/textBubble/components/TextBubbleEditor.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ const TextBubbleEditorContent = ({
101101
spacing={0}
102102
cursor="text"
103103
className="prevent-group-drag"
104+
onContextMenuCapture={(e) => e.stopPropagation()}
104105
sx={{
105106
'.slate-ToolbarButton-active': {
106107
color: useColorModeValue('blue.500', 'blue.300') + ' !important',

0 commit comments

Comments
 (0)