Topic: Sidenav/Lightbox Bug

sportssouth priority asked 2 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: https://mdbootstrap.com/snippets/standard/sportssouth/3182701#html-tab-view

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 2 years ago


Hi,

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: https://mdbootstrap.com/snippets/standard/d-wajszczuk/3183936#js-tab-view .

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.8.1
  • Device: Desktop
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: Yes