Components switch doesn't work inside navbar


Topic: Components switch doesn't work inside navbar

marco_88 pro asked 7 years ago

Hello I purchasing MDB Pro for jQuery and trying create a navbar vith some dropdown. I made this, but on dropdown that is present inside navbar I inserted on menu item switch component. I customized css of this switch and works fine, but doesn't click! I try outside navbar and works correctly. Where is the problem? Thanks. Marco

kisk73 pro commented 6 years ago

Hi, I also had the same problem. ".switch label input" put in ".navbar" is surrounded by "div", so erase it. e.g.try $(".navbar .switch label input").each(function(){ if($(this).parent().prop("tagName") == "DIV"){ $(this).unwrap(); } });

Bartłomiej Malanowski staff pro premium commented 6 years ago

Could you please share your code with us? I'd like to see that, but I cannot recreate your issue

Marta Szymanska staff pro premium answered 7 years ago

Hi, could you provide your code here? I will check what is the problem. Best, Marta
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
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No