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

The sidebar did not collapse automatically after clicking on a SidebarItem. #186

Open
2 tasks done
codersjj opened this issue Jul 31, 2023 · 1 comment
Open
2 tasks done

Comments

@codersjj
Copy link
Contributor

Describe the bug

On narrow screen devices, the sidebar did not collapse automatically after clicking on a SidebarItem.

sidebar-collapse

Reproduction

See: https://codesandbox.io/p/sandbox/ancient-tdd-zlh9qn?file=%2Fisland-app%2Fdocs%2F.island%2Fconfig.ts%3A44%2C7

Expected behavior

On narrow screen devices, the sidebar collapses automatically after clicking on a SidebarItem.

System Info

-

Additional context

No response

Validations

  • Read the docs
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@sanyuan0704
Copy link
Owner

Yes, we optimize this behavior by closing the sidebar after clicking other sidebar item. PR welcome!

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

No branches or pull requests

2 participants