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: Close fixed SideNav issue

Vito free asked 4 years ago


Hi,my task is to create fixed SideNav and have an ability to close it from UI.

I have tried two variants to close:

  1. Using data-activates
  2. Using sideNav('hide') method

First one works not correctly: at first click the sidenav still displays, only grayed overlay adding. Closing does only after SECOND clicking. But sidenav is expected to close on first click.

Second variant just does not work at all when sidenav is in fixed state.

Please see the snipped with this behavior at https://mdbootstrap.com/snippets/jquery/vitaly_z/1779671

IMPORTANT: check this snipped on a wide enough screen for showing sidenav in a fixed state.

Click [CLOSE FIXED via data] [CLOSE FIXED via method] buttons at the top of page for testing both variants.


Mateusz Łubianka staff answered 4 years ago


Hi @Vito,

We have a task with this issue, we will check it and fix as soon as possible.

Best,



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 jQuery
  • MDB Version: 4.13.0
  • Device: notebook
  • Browser: chrome up2date
  • OS: Ubuntu 18.04
  • Provided sample code: No
  • Provided link: Yes