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

Scaling carousel on page resize #30

Closed
BenDeGiglio opened this issue Apr 25, 2018 · 1 comment
Closed

Scaling carousel on page resize #30

BenDeGiglio opened this issue Apr 25, 2018 · 1 comment

Comments

@BenDeGiglio
Copy link

Is there a way to re-trigger the function that sizes and scales the images?
As it is right now, they way I have it set up with percentage based sizing, if you resize the window the carousel looks wonky and only looks right again if you refresh the page.

I attempted to write a resize function that re-instantiates the carousel upon window resize but the issue with that is It resets the carousel to the first image which is undesirable.

@specious
Copy link
Owner

specious commented May 6, 2018

See if the temporary solution posted in #28 works for you.

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

2 participants