You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix mobile sidebar not auto-closing when room selected
The video library revamp (#77) expanded toggle_class_controller.js
with Library-specific features but removed the critical mobile UX
behavior: auto-closing the sidebar when navigating to a room.
On mobile, the sidebar takes full viewport width. When a user taps
a room link, they expect to see the room content immediately, not
a still-open sidebar overlay blocking the view.
Fix: Listen for turbo:click events and close the sidebar on mobile
(max-width: 120ch) when any link inside the sidebar is clicked.
This restores the expected behavior while preserving all Library
overlay functionality on desktop.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments