X
X
Xapu3ma2019-07-24 16:11:46
css
Xapu3ma, 2019-07-24 16:11:46

Bug when displaying on mobile devices?

Hello! There is a website url
The problem is that when the page is in mobile size and the top menu collapses, a bug occurs and the submenus just don't expand. Tell me where is the mistake? or how to debug this?
5d38590cf3c7a797341096.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Usachov, 2019-07-24
@rockfeeler

nav-linkand nav-item
When clicking on these elements, a trigger is fired to close the entire menu. You can try to prevent the click from popping up by adding something like this:

$('.nav-link').click(function(e) {
  e.stopPropagation();
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question