mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 04:13:18 +01:00
Fix sticker creator in our new typescriptified world
This commit is contained in:
@@ -155,6 +155,7 @@ export const StickerFrame = React.memo(
|
||||
|
||||
return () => {
|
||||
removeRoot(root);
|
||||
setEmojiPopperRoot(null);
|
||||
document.removeEventListener('click', handleOutsideClick);
|
||||
};
|
||||
}
|
||||
@@ -254,7 +255,7 @@ export const StickerFrame = React.memo(
|
||||
</button>
|
||||
)}
|
||||
</PopperReference>
|
||||
{emojiPickerOpen && onSetSkinTone && emojiPopperRoot
|
||||
{emojiPickerOpen && emojiPopperRoot
|
||||
? createPortal(
|
||||
<Popper placement="bottom-start">
|
||||
{({ ref, style }) => (
|
||||
|
||||
Reference in New Issue
Block a user