Topic: Sidenav/Lightbox Bug

sportssouth priority asked 3 years ago

Expected behavior Sidenav is expected to work with lightbox being on the page.

Actual behavior Adding the lightbox class to a page that has sidenav capabilities renders the button click of the sidenav completely useless.

Resources (screenshots, code snippets etc.) Here is the most basic example I created based on tutorial snippets to recreate:

I am using mdb pro, and every time I try to add a lightbox or lightbox gallery to my page, it breaks the button functionality of the sidenav. It will not open the sidenav if the lightbox class is on the page. I am seeing this happen in both firefox, chrome & safari. I'm not sure if i'm missing something obvious for these two components to work together on the same page or if it's just a bug. Please advise.

Dawid Wajszczuk staff answered 3 years ago


It seems like some kind of bug. We will take a closer look at this case and see what we can do about it. As for now, here is a quick workaround for this: .

Keep coding,

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.8.1
  • Device: Desktop
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: Yes