feat: hide emoji picker in post editor
This commit is contained in:
parent
9edd61db78
commit
94e2a446e8
2 changed files with 3 additions and 8 deletions
|
|
@ -24,7 +24,8 @@ export default function EmojiPickerDialog({
|
|||
<DrawerTrigger asChild>{children}</DrawerTrigger>
|
||||
<DrawerContent>
|
||||
<EmojiPicker
|
||||
onEmojiClick={(data) => {
|
||||
onEmojiClick={(data, e) => {
|
||||
e.stopPropagation()
|
||||
setOpen(false)
|
||||
onEmojiClick?.(data.emoji)
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue