Scroll doesn't work after modal is closed
Closed this issue · 3 comments
alexfleites commented
For some reason after the modal window is closed, the parent is unresponsive.. even scroll doesn't work. Have to refresh the page to go back normally.
Any help would be appreciated.
PhiloNL commented
Please verify and make sure you are not loading Alpine twice. Alpine is already included in Livewire.
alexfleites commented
PhiloNL commented
I would recommend injecting the modal in your layout once instead of including it inside another component. Having multiple instances of the base modal component will result in issues as well. This might also be the issue causing the scroll to no longer work.