Fixmedium riskhigh confidencecommunity validated
shadcn dialog focus trap broke after route change
Dialog stayed mounted across routes.
By Contributor · published 4/19/2026
In plain English
Fix website pop-ups that get stuck on the screen or prevent you from clicking buttons after changing pages. This ensures your app navigation remains smooth and clickable for every user.
Discussion
0 comments
Loading comments…
Sign in to join the discussion.
Want the technical version? Switch the detail level at the top of the page toBuilder orTechnical.
