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

Sub items not visible in the side bar when rail is true #10

Open
frederic-favier opened this issue Feb 4, 2025 · 0 comments
Open

Sub items not visible in the side bar when rail is true #10

frederic-favier opened this issue Feb 4, 2025 · 0 comments

Comments

@frederic-favier
Copy link

I was playing around this template and I tried to add a subitem in the menu. In sidebarItem.ts, I just moved the "register" item into the "login" children):

  ...
  {
    title: 'Login',
    icon: LoginOutlined,
    to: '/login1',
    children: [
      {
        title: 'Register',
        icon: ProfileOutlined,
        to: '/register'
      }
    ]
  },
  ...
  • When the side bar is expanded and rail = false, the subitem is displayed properly (but it could use a visual hint when the side bar is collapsed).
  • When the side bar is expanded and rail = true, the subitem is not visible.

Does the child need more props ?

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

1 participant