andcarpi / laravel-popper

A simple and easy to use package that generates tooltips in your Laravel views.
https://andcarpi.github.io/laravel-popper/
MIT License
19 stars 3 forks source link

Dynamic content inside a loop not working when data changes #6

Open Hesesses opened 1 year ago

Hesesses commented 1 year ago

Hello

I have a livewire page with filters and it loops items on the page.

Everything works fine but when I change filters and the items change, popper will not change the popper text even the content changes. The markup on html is correct and changes, but for somereason it displays the "old content"

Code to show popper: <div @popper({{ $event['short_info'] }}) class="text-xs whitespace-nowrap">{{ $event['name'] }}</div>

Any ideas how to fix this?

jayomayan commented 1 year ago

Same issue on mine.