Glimmer DSL for Web (Fukuoka Award Winning Frontend Framework for Rails) had a new release in version 0.9.1 that includes a new sample called Hello, Modal! to teach how to create modals in Glimmer DSL for Web in the Frontend of Rails web applications.
GitHub :
RubyGem :
https://rubygems.org/gems/glimmer-dsl-web
Blog post announcement with code sample:
1 Like
Nice to see the Hello, Modal! sample included. I haven’t looked at the code yet, but I’m curious how the modal handles focus trapping and closing on Escape, since those are usually the fiddly parts in a frontend framework. Also, does it cooperate with Turbo frame navigation, or is it intended mainly for standalone Glimmer views? A short note on either would help me judge where it fits in a Rails app.