client/note color picker: dismiss the menu when a color is clicked

This commit is contained in:
Adorian Doran 2025-11-20 23:43:08 +02:00
parent 1b2d922c3f
commit d42f911df9

View File

@ -67,8 +67,7 @@ export default function NoteColorPicker(props: NoteColorPickerProps) {
}
}, [note, currentColor]);
return <div className="note-color-picker"
onClick={(e) => {e.stopPropagation()}}>
return <div className="note-color-picker">
<ColorCell className="color-cell-reset"
tooltip={t("note-color.clear-color")}