ngx-bootstrap
ngx-bootstrap copied to clipboard
accordion: isOpen does not work with first click
Actions:
- go to example @ http://valor-software.com/ng2-bootstrap/#accordion
- expand the last item by clicking the accordion component
- close the last item by clicking the button on top
Expected:
- the accordion component closes instantly after clicking the button
Result:
- closing works on the second click on the close button
Version info: angular2 v2.0.0-beta.14 bootstap v4.0.0-alpha.2 ng2-bootstrap v1.0.11
I want to add that the button only toggles visibility on first click if the current state of visibility is consistent with the result of the last time it toggled the visibility.
It is actually working, but it is a one way binding from status.open to isOpen but fixed anyway, thanks :)
When are you pushing the next release to fix this bug ?