Skip to content

Commit d42f911

Browse files
committed
client/note color picker: dismiss the menu when a color is clicked
1 parent 1b2d922 commit d42f911

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/client/src/menus/custom-items/NoteColorPicker.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ export default function NoteColorPicker(props: NoteColorPickerProps) {
6767
}
6868
}, [note, currentColor]);
6969

70-
return <div className="note-color-picker"
71-
onClick={(e) => {e.stopPropagation()}}>
70+
return <div className="note-color-picker">
7271

7372
<ColorCell className="color-cell-reset"
7473
tooltip={t("note-color.clear-color")}

0 commit comments

Comments
 (0)