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

fix(Collapse): remove 0px menu height on resize and expand/collapse #3687

Merged
merged 1 commit into from
Apr 23, 2019

Conversation

brycejlowe
Copy link
Contributor

Fixes #3394

Found this issue while I was attempting to create a Bootstrap menu without a Navbar.Brand component (I just wanted links). The problem I ran into was when the browser was re-sized to show the collapsed menu and the collapsed menu was expanded, then collapsed and finally the browser was resized to show the full menu, the menu's height was set to 0px.

I have put a full comment in the issue referenced above.

Copy link
Member

@taion taion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i found this surprising at first, but actually this brings us in line with the upstream

@taion taion requested a review from jquense April 22, 2019 17:59
@jquense jquense changed the title 0px menu height on resize and expand/collapse fix(Collapse): remove 0px menu height on resize and expand/collapse Apr 23, 2019
@jquense jquense merged commit 787a19e into react-bootstrap:master Apr 23, 2019
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

Successfully merging this pull request may close these issues.

Height of 0 being set on navbar collapse when menu is closed with toggle
4 participants