Custom close modal button

Hi everyone!

I am collaborating on the creation of a shopping cart which, after an action in the table, opens a slide over with details.

The slide over footer is custom, with three elements:
  • a button to close the slide over;
  • a recap of the total cost;
  • a button to go to the checkout.
The slide over content is a livewire component, but it is not an x-filament::modal.

Everything works as intended; the only thing I can't do is close the modal with the ‘dismiss’ button.

I attach an image to clarify the structure. Thanks for any advice you can give me: I have tried using both livewire and alpine events, but to no avail.
image.png
Was this page helpful?