TangoDev-it / filament-emoji-picker

Add an emoji picker to your Filament input fields
MIT License
11 stars 2 forks source link

[Bug]: Don't work when use lazy() or live() on Input #3

Closed luluxe closed 2 months ago

luluxe commented 2 months ago

What happened?

Hello,

The emoji select don't work when use lazy() or live() on Input. It work the first time you click on it, but the second i have this error in console :

filament-emoji-picker-scripts.js?v=1.0.2.0:4 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'classList') at HTMLDocument.ni (filament-emoji-picker-scripts.js?v=1.0.2.0:4:13987) at Function.dispatch2 (livewire.js?id=cc800bf4:1388:8) at eval (eval at safeAsyncFunction (livewire.js?id=cc800bf4:1176:21), :3:56) at livewire.js?id=cc800bf4:807:11

How to reproduce the bug

Package Version

latest

PHP Version

8.2

Laravel Version

11

Which operating systems does with happen with?

No response

Notes

No response

manugando commented 2 months ago

Hi! Thanks for reporting the issue, I'll look into it and let you know 👍

manugando commented 2 months ago

Hi @luluxe , the issue has been solved in the latest version (1.0.3) ✌️

luluxe commented 2 months ago

Thank you for your speed 👍