set positionFixed in emoji Popper to prevent flipping
This commit is contained in:
parent
e8fb835857
commit
79c94dafd5
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ export const EmojiButton = React.memo(
|
||||||
</Reference>
|
</Reference>
|
||||||
{open && popperRoot
|
{open && popperRoot
|
||||||
? createPortal(
|
? createPortal(
|
||||||
<Popper placement="top-start">
|
<Popper placement="top-start" positionFixed>
|
||||||
{({ ref, style }) => (
|
{({ ref, style }) => (
|
||||||
<EmojiPicker
|
<EmojiPicker
|
||||||
ref={ref}
|
ref={ref}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue