Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap 4 dropdown issue inside navbar fixed-top #27638

Closed
AMeshu opened this issue Nov 9, 2018 · 5 comments
Closed

Bootstrap 4 dropdown issue inside navbar fixed-top #27638

AMeshu opened this issue Nov 9, 2018 · 5 comments

Comments

@AMeshu
Copy link

AMeshu commented Nov 9, 2018

If you look at that generic example via phone, and rotate the orientation to landscape, you will see that the links on the dropdown are unreachable.
When I remove the class "fixed-top" from the nav it all work as expected so I guess it is something with that.
This is the codepen
I ask the same on SO, and i got semi-solution (adding scroll to dropdown, but the links are still unreachable).
Something happen in the JS/CSS that ignores other rules when it's navbar fixed-top + dropdown and i can't figure out what.

@coliff
Copy link
Contributor

coliff commented Nov 9, 2018

Bug reports must include a Reduced test case using CodePen or JS Bin.

@Johann-S
Copy link
Member

Johann-S commented Nov 9, 2018

What @coliff said 👍

@mdo
Copy link
Member

mdo commented Dec 15, 2018

If you need the dropdowns to be accessible in that orientation with that number of items, you may need to customize the max-height further.

@AMeshu
Copy link
Author

AMeshu commented Dec 15, 2018

Thank you for the reply @mdo but since i already try this ( without success ), i would appreciate if you can show me how.

@kitsguru
Copy link

kitsguru commented Jan 17, 2019

I have the same issue on a desktop where I have a long menu that extends below the bottom of the screen and elements not visible are unreachable. Removing fixed-top solves the issue as the whole page scrolls.

The above code pen demonstrates the problem quite nicely for me.

This might be a use case for sub dropdowns...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants