A
A
ajlee42020-02-16 17:18:02
JavaScript
ajlee4, 2020-02-16 17:18:02

How to solve the problem with scrolling on mobile devices?

5e494f2eba296670844138.jpegPlease tell me how to solve the problem. I ran into a problem, when scrolling the bottom of the menu is not shown to the end, although the padding-bottom below is large and everything is displayed normally in the browser. Also worth overflow-y: auto; But just a piece is hidden and that's it. Pictured is the iphone 11 safari.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-06-13
@Vladddosss

Everything works (try to realize that "does not work" and "does not work the way I intended" are not the same thing). You just remove the class from the wrong elements.

$('.navigation-demos ul li a').click(function() {
  $(this).addClass('active').parent().siblings().find('.active').removeClass('active');
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question