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

Problem with the Bootstrap Collapse #18

Open
FelipeCorso opened this issue Oct 18, 2017 · 4 comments
Open

Problem with the Bootstrap Collapse #18

FelipeCorso opened this issue Oct 18, 2017 · 4 comments

Comments

@FelipeCorso
Copy link

@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.
image
image

@JulioWar
Copy link
Owner

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

@FelipeCorso
Copy link
Author

Nice!

I'll use this [switch-handle-width]="60" to solve my problem.

@Zabudska-Yuliia
Copy link

Hey, @JulioWar do you have any updates? It would be really great to have a fix.
Thanks a lot for such useful lib :)

@JulioWar
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants