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

outerwidth and hide elements #45

Open
kampiamodikuesto opened this issue Oct 7, 2016 · 1 comment
Open

outerwidth and hide elements #45

kampiamodikuesto opened this issue Oct 7, 2016 · 1 comment

Comments

@kampiamodikuesto
Copy link

i'm try to use responsiveCorousel with tabs of foundatin 6 but i discovered that the size of elment into the carousel are calculate with outerWidth jquery function that returns zero with hide elments. So onlty first tab all work fine.

how can we fix outerWith problems?

@kampiamodikuesto
Copy link
Author

i fix this editing the script with this fix: i have replace
$(obj).outerWidth()
width
$(obj).parents('FIRST_PARENT_ELEMENT_WIDTH_NOT_ZERO').outerWidth()

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

1 participant