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
Thanks for this beautiful package :) I'm trying to use this package inside of an chrome extension. Meaning that a script that runs on a page, initializes emoji picker in a Shadow DOM.
Unfortunately the CSS of emoji picker appended into the document header.
Can we add a property so that Emoji Picker takes an optional parameter of HTMLElement, a reference, so that css will be appended there.
This would probably fix the issue :)
For now, after I initialize EmojiPicker, I will look for the style id="flairup-epr" and paste it into my shadow dom manually.
Thanks,
Ugur
The text was updated successfully, but these errors were encountered:
ugurkellecioglu
changed the title
Support for Shadow DOM
CSS being appended into the document eventhough Picker rendered in Shadow DOM
Jan 30, 2024
Hi there!
Thanks for this beautiful package :) I'm trying to use this package inside of an chrome extension. Meaning that a script that runs on a page, initializes emoji picker in a Shadow DOM.
Unfortunately the CSS of emoji picker appended into the document header.
Can we add a property so that Emoji Picker takes an optional parameter of HTMLElement, a reference, so that css will be appended there.
This would probably fix the issue :)
For now, after I initialize EmojiPicker, I will look for the style id="flairup-epr" and paste it into my shadow dom manually.
Thanks,
Ugur
The text was updated successfully, but these errors were encountered: