wp-bootstrap / wp-bootstrap-navwalker

A custom WordPress nav walker class to fully implement the Twitter Bootstrap 4.0+ navigation style (v3-branch available for Bootstrap 3) in a custom theme using the WordPress built in menu manager.
https://wp-bootstrap.github.io/wp-bootstrap-navwalker/
GNU General Public License v3.0
3.37k stars 1.94k forks source link

Scroll mobile menu #507

Closed Kamduras-dev closed 3 years ago

Kamduras-dev commented 3 years ago

Hello,

When I create a long menu. On mobiles, you can't scroll and you can't see the bottom of the menu.

Thanks.

IanDelMar commented 3 years ago

Hi @Kamduras-dev , would you please provide a screenshot? Thank You!

Kamduras-dev commented 3 years ago

Hi @Kamduras-dev , would you please provide a screenshot? Thank You!

Sure:

MobileMenu

IanDelMar commented 3 years ago

I'll check that and come back to you.

IanDelMar commented 3 years ago

This happens because you use a fixed navbar. If the fixed navbar spans the whole screen (when expanded) you won't be able to visibly scroll. The content behind the fixed navbar scrolls but is hidden by the navbar. The fixed navbar is not scrollable per definition. You can fix this by unsetting the "navbar-fixed" for small/medium screens. Go to https://getbootstrap.com/docs/4.6/examples/starter-template/ using a mobile, expand the menu and scroll to see what's going on.

This is normal behaviour and not a WP Bootstrap Navwalker bug.

Kamduras-dev commented 3 years ago

This happens because you use a fixed navbar. If the fixed navbar spans the whole screen (when expanded) you won't be able to visibly scroll. The content behind the fixed navbar scrolls but is hidden by the navbar. The fixed navbar is not scrollable per definition. You can fix this by unsetting the "navbar-fixed" for small/medium screens. Go to https://getbootstrap.com/docs/4.6/examples/starter-template/ using a mobile, expand the menu and scroll to see what's going on.

This is normal behaviour and not a WP Bootstrap Navwalker bug.

Thank you very much, I hadn't thought of that.

Thank you for your time.

I close the issue

IanDelMar commented 3 years ago

You're welcome!