Svelte Modal Transition

Any way to change transition on Modal in svelte?
I want to change transition of Modal like Page push transition.

Thank You

Only by modifying its CSS transitions manually

Can you send me CSS to change transition of modal?

So try making it yourself. And post your solution if it donst work. Maybe someone can help you fix your css code.

1 Like

I haven’t tried this but here’s a hint:

It has a method “open(animate)”, where animate I would assume is a boolean.
Maybe onMount & open(false) and some svelte transition magic will get you there.

Let me know.

I have tried, but no luck.