set positionFixed in emoji Popper to prevent flipping

This commit is contained in:
Kevin J. Sung 2021-04-05 18:05:23 -04:00 committed by GitHub
parent e8fb835857
commit 79c94dafd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ export const EmojiButton = React.memo(
</Reference>
{open && popperRoot
? createPortal(
<Popper placement="top-start">
<Popper placement="top-start" positionFixed>
{({ ref, style }) => (
<EmojiPicker
ref={ref}