ngx-bootstrap icon indicating copy to clipboard operation
ngx-bootstrap copied to clipboard

accordion: isOpen does not work with first click

Open brosenberger opened this issue 10 years ago • 3 comments

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

brosenberger avatar Apr 12 '16 08:04 brosenberger

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.

thejewdude avatar Jun 08 '16 19:06 thejewdude

It is actually working, but it is a one way binding from status.open to isOpen but fixed anyway, thanks :)

valorkin avatar Jul 22 '16 15:07 valorkin

When are you pushing the next release to fix this bug ?

calvinKG avatar Aug 28 '16 17:08 calvinKG