Closed nasirkhan closed 8 months ago
I'm facing same issue right now and looks like I found solution: https://www.youtube.com/watch?v=gkDq2E6g0F0
Just add this to app.js file:
document.addEventListener('livewire:navigated', () => {
initFlowbite();
})
@reasecret thanks. This solves the issue.
Describe the bug I am using Flowbite in a number of Laravel projects. In a recent project, I started to use
Livewire 3
and its wire:navigate.The dropdown menu works only after a full page refresh but not for the
wire:navigate
. I would like to mention that the menu area remains the same for regularblade
pages andlivewire full-page components
.To Reproduce Steps to reproduce the behavior:
wire:navigate
for pages.Expected behavior The drop-down menu should appear each time I click the related parent menu item.