Refactor EmojiInput for better vue3 compatibility
All threads resolved!
All threads resolved!
Compare changes
This changes the way EmojiInput works internally, previously it relied on slots to get element out of nested <input>
or <textarea>
, however in Vue3 slots do not have elements, and this is supposedly "not public API", so changing it to use ref to root and some querySelector
instead.