fix emoji popup scroll (#8636)
This commit is contained in:
@@ -78,10 +78,12 @@ function MenuInner({
|
|||||||
<DropdownMenu.Content
|
<DropdownMenu.Content
|
||||||
sideOffset={5}
|
sideOffset={5}
|
||||||
collisionPadding={{left: 5, right: 5, bottom: 5}}>
|
collisionPadding={{left: 5, right: 5, bottom: 5}}>
|
||||||
|
<div onWheel={evt => evt.stopPropagation()}>
|
||||||
<EmojiPicker
|
<EmojiPicker
|
||||||
onEmojiSelect={handleEmojiPickerResponse}
|
onEmojiSelect={handleEmojiPickerResponse}
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</DropdownMenu.Content>
|
</DropdownMenu.Content>
|
||||||
</DropdownMenu.Portal>
|
</DropdownMenu.Portal>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user