Topic: Sidenav not fully cleaning up after itself when deleted

Marvin Herbold priority asked 3 years ago


  1. Create a sidenav with mode="over".
  2. Show the sidenav causing it to create the sidenav backdrop.
  3. Remove the sidenav element from the document. The backdrop remains. The sidenav instance is not removing the backdrop when being removed from the document.

This is causing problems with our service which uses AJAX to load pages - the backdrop is getting left behind.

Here's a snippet showing the issue - after 2 seconds it removes the sidenav element and the backdrop is still on the page.

https://mdbootstrap.com/snippets/standard/marvin_herbold/3154309


Dawid Wajszczuk staff answered 3 years ago


Hi,

Thanks for reporting this. We will try to fix it as soon as possible.

Keep coding,
Dawid



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.7.1
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: Yes