Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close sidebar when clicking on an entry on mobile #83

Closed
maciejkrol18 opened this issue Jan 9, 2025 · 1 comment · Fixed by #85
Closed

Close sidebar when clicking on an entry on mobile #83

maciejkrol18 opened this issue Jan 9, 2025 · 1 comment · Fixed by #85
Assignees
Labels
enhancement New feature or request

Comments

@maciejkrol18
Copy link
Member

On mobile screen sizes, the sidebar should automatically close when clicking on a chat or a saved supervisor. Should be easily achieved with the useIsMobile hook we already have in our app.

@maciejkrol18 maciejkrol18 added the enhancement New feature or request label Jan 9, 2025
@chewmanji chewmanji marked this as a duplicate of #84 Jan 9, 2025
@chewmanji
Copy link
Member

There's shadcn's API for managing state of sidebar:
https://ui.shadcn.com/docs/components/sidebar#usesidebar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants