How to Make Filament Modal Draggable?
Hey everyone! đź‘‹
I'm trying to make the Filament modal draggable, so users can move it around freely. I attempted to use Alpine.js to manipulate .fi-modal, but it doesn't seem to work properly. The modal resets its position, and dragging doesn’t behave as expected.
Here’s what I tried:
However, the modal doesn't stay in place and sometimes snaps back. Is there a better way to make Filament’s modal draggable while maintaining compatibility with its system?
Any help or insights would be greatly appreciated! Thanks in advance! 🙌
0 Replies