Accordion trigger two time
- Linguagem predominante
- TypeScript
- Estrelas
- 8.1k
- Forks
- 1.5k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
### Issue type
**I'm submitting a ...** (check one with "x")
* [x ] bug report
* [ ] feature request
### Issue description
**Current behavior:**
Trigger (collapsedChange) event emitter by open/close the nb-accordion-item
if i opened the accordion, its logged true and false, otherwise, it logged true and true
**Expected behavior:**
only logging true when open
only logging false when close
**Steps to reproduce:**
open and close the accordion
**Related code:**
```
Item Content
```
```
something(isOpen: boolean): void {
console.log(isOpen)
}
```
log:
```
true
false
true
true
true
false
true
true
```
### Other information:
**npm, node, OS, Browser**
```
Node, npm: v18.17.0 and 9.8.1
OS: Windows (7/8/10)
Browser: MSEdge
```
**Angular, Nebular**
```
"@angular/core": "^16.1.0",
"@nebular/eva-icons": "^11.0.0",
"@nebular/theme": "^11.0.0",
```
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.