Topic: sidenav-slim remove "expand" button

rmatth free asked 5 years ago


Hello,

How to remove the "expand" button when creating a 'sidenav-slim" which is added automatically ?

I would like to keep the "slim" without the possibility to be expand .

Thanks


kernellpanic free answered 3 years ago


is there any update about this functionality?

I'm trying to show the SLIM sidenav with items ( but without sub-items ). Is this possible?


Krzysztof Wilk staff commented 3 years ago

Hi!

There's no update about this feature, but I think you can achieve it just using states. You can try to render categories depending on the slim state. If it is true - render item without sub-items, if not - render the whole category :)

Keep coding!


Aliaksandr Andrasiuk staff answered 5 years ago


Hi,

For now, it's automatically added if property slim is set to true and you can't use this component without it.

We will add a feature to keep SideNav slim in the near future.

Best regards.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.13.0
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: No