Topic: MDBSideNavCat collapse show on initial page load

johndoe pro asked 5 years ago


Hi,

Currently on react pro 4.12.0 (haven't updated to 4.13.0 yet but don't see any change logs to SideNavCat)

Is there a parameter I can pass to MDBSideNavCat that will keep a side nav category already collapsed with "collapse show" on the generated . Just checking here in case it's not documented on the example page/api.

Need it for page reloads when a MDBSideNavLink is active.

<MDBSideNavCat name="Category 1" id="side-nav-link-cat1" className="side-nav-icon-cat1">
<MDBSideNavLink to="/test1">Test 1</MDBSideNavLink>
<MDBSideNavLink to="/test2">Test 2</MDBSideNavLink>    


Anna Morawska staff commented 5 years ago

Hi there, unfortunately not, but it is an interesting feature, we will add it to our list of ideas. Best, Ania



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.11.1
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags