Skip to content

Sidebar inconsistencies with collapse behavior #3553

@codealchemy

Description

@codealchemy

Describe the bug

Side navigation with multiple groups (such as static links in addition to configured models) can move around depending on the state of a given dropdown within the side navigation.

Example using the dummy app from /spec

collapse-nav-default

Reproduction steps

Start demo app, visit the dashboard.

Expected behavior

Side navigation width and group stacking to be static / consistent.

Additional context

  • rails version: 7.0.x
  • rails_admin version: master branch
  • rails_admin npm package version: master branch
  • full stack trace (if there's an exception) N/A

Add any other context about the problem here.

Collapsable sidebar introduced in e8cb8ed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions