jw-bootstrap-switch-ng2
jw-bootstrap-switch-ng2 copied to clipboard
Problem with the Bootstrap Collapse
@JulioWar, I found a problem using the switch with accordion panels, if the panel is rendered closed (class = "collapse in") the switch can not calculate the size correctly. If the panel is expanded (class = "collapse"), the situation does not occur.
Do you know if I'm doing something wrong?
I created a repository to simulate the situation https://github.com/FelipeCorso/jw-bootstrap-switch-ng2
The workaround is always bring the panels expanded, but the PO already complained hehehe.
Hi @FelipeCorso
This issue is related with the this issue #2. But i am going to try something later to solve that problem. I'am going to try to calculate the width of the switch with the length of the labels
Nice!
I'll use this [switch-handle-width]="60" to solve my problem.
Hey, @JulioWar do you have any updates? It would be really great to have a fix. Thanks a lot for such useful lib :)
Hello @Zabudska-Yuliia, Thanks for using this library. I'm little bussy this month, but I will do my best to keep you up to date. Any Pull Request is going to be appreciated 😃
I will try to see this with more detail on the weekend.