Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Navigating from SideNav

gtb pro asked 6 years ago


Hi, not so much a question as an observation/minor bug. I can get the example SideNav working in my application but, unlike the Navbar. I can't see a similar amount of documentation with a working example with the various components and actual working links. If I dig through your source code I can see that SideNavItem has an href property that allows me to load up another component on the page. All good and that work's for me. However, for consistency purpose have you considered treating a SideNavItem consistently with your NavItem - they both create <li> elements - and incorporating a new SideNavLink component with a "to" attribute that also acts as a wrapper around the react-router-dom.NavLink? Thanks for your time.

sourabha22 pro commented 6 years ago

Sharing my observation with side nav Steps to reproduce: 1) Set up side nav component 2) Add an 'href' attribute to SideNavItem : Instruction 3) (refresh) Click on the menu option Behavior observed: On click of the menu option, the ripple effect causes screen to freeze for a small but noticeable fraction of time (though the new screen loads successfully)

Mikołaj Smoleński staff answered 6 years ago


Hi, Thanks for Your remarks. We'll try to fix it in one of the next releases. Regards

FREE CONSULTATION

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

Status

Closed

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags