#hotwire 1 hashtag

Todd Sundsted

After thrashing through several attempts to add a smooth transition to the poll partial after the user votes, I realized that the best solution was hiding in plain sight. Turbo already sets the busy attribute on a turbo-frame element while the request is in progress, and adds a complete attribute when the request is complete. The only thing required was the styling!

#ktistec #hotwire #turboframes