Historically, I really hate modals.
@weaverryan11K followers
10,918 views
9 Comments
Comments from the original post on X (Twitter)

@rskuipers
We built this exact same solution as well and I love the simplicity. I also put a simple if statement for my twig extends keyword so we either extend modal layout if it's in the modal turbo frame or page layout if it isn't, making it very flexible to choose between modal and page
2 likes

@zoran010
Great stuff as always @weaverryan. Thanks a lot
1 like

@bhumi1102
LAST stack is? something something Stimulus Turbo?
1 like

@swarley3002
Looking forward to the symfonycast LAST stack tutorial ! Thx for your work !
1 like

@delioooscode
Beautiful!! Do you have a repo ?

@weaverryan
Yup - but nothing is really public yet - watch for the screencast :)
1 like

@ValentinSilves
Meh. No more js 😈

@weaverryan
Haha, I can’t even get away with 50 lines of js??? In all seriousness, this 50 line modal controller should be its own library after this, I think.
1 like

@weaverryan
There is no doubt that modals are a minefield for accessibility. That’s something I need to learn more about
1 like