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

"Collapse" component breaks "Dropdown" component #5625

Closed
ghost opened this issue Jan 29, 2020 · 2 comments · Fixed by #5626 or #5649
Closed

"Collapse" component breaks "Dropdown" component #5625

ghost opened this issue Jan 29, 2020 · 2 comments · Fixed by #5626 or #5649

Comments

@ghost
Copy link

ghost commented Jan 29, 2020

Bug description:
When using the "Dropdown" component in the "Collapse" component, a bug occurs with the "Dropdown" display.

StackBlitz that reproduces the issue:
https://stackblitz.com/edit/ngx-dropdown-bug

Bug Playback:

  1. On StackBlitz there is a window for viewing the example web page. In this window, find the "Example navbar" element.
  2. The navbar element should have a button that allows you to collapse / expand the navbar. If this button is not present, then reduce the window for viewing the web page in the StackBlitz example so that this button appears.
  3. Click on "Dropdown" button. A list with two links should open. Dropdown should work now.
  4. Сollapse "Example navbar" using the button on the right, and then expand it back.
  5. Click on "Dropdown" again. Now the list shouldn't show.

ngx-bootstrap: 5.5.0

Angular: 8.2.14

Bootstrap: 4.4.1

Expected behavior
The "Collapse" component shouldn't break the "Dropdown" component.

@masdevid
Copy link

Is there work around for it?

@ghost
Copy link
Author

ghost commented Jan 31, 2020

Is there work around for it?

I've already done pull request

IraErshova added a commit to IraErshova/ngx-bootstrap that referenced this issue Feb 6, 2020
IraErshova added a commit to IraErshova/ngx-bootstrap that referenced this issue Feb 6, 2020
daniloff200 pushed a commit that referenced this issue Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants