You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm importing this library with <script> tag. I have two use cases for the picker; One picker has native + custom emojis, while the second picker has just custom emojis.
If I instantiate the first picker, the second picker will also have native emojis, even though the pickerOptions clears the 'data' prop, and vice versa.
I'm instantiating like so: return new (window as any).EmojiMart.Picker(pickerOptions)
I've ensured that the proper pickerOptions are being passed in each case. All the matters is which one is instantiated first. It seems like something is being cached after first instantiation in the library.
Thanks!
The text was updated successfully, but these errors were encountered:
I'm importing this library with <script> tag. I have two use cases for the picker; One picker has native + custom emojis, while the second picker has just custom emojis.
If I instantiate the first picker, the second picker will also have native emojis, even though the pickerOptions clears the 'data' prop, and vice versa.
I'm instantiating like so:
return new (window as any).EmojiMart.Picker(pickerOptions)
I've ensured that the proper pickerOptions are being passed in each case. All the matters is which one is instantiated first. It seems like something is being cached after first instantiation in the library.
Thanks!
The text was updated successfully, but these errors were encountered: