Navigation Menu

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

loading problem while switching between tabs #65

Closed
geroldhinzen opened this issue Feb 26, 2015 · 3 comments
Closed

loading problem while switching between tabs #65

geroldhinzen opened this issue Feb 26, 2015 · 3 comments

Comments

@geroldhinzen
Copy link

the problem can be created by including a flickity stream on two different tabs. while the content of the first tab is loaded, the content of the second isn't correct initialized. by switching the tab the flickity stream doesn't show the pictures correctly

bildschirmfoto_2015-02-26_um_14_19_28
bildschirmfoto_2015-02-26_um_14_19_43

update: i used bootstrap 3.3.2, chrome Version 40.0.2214.115 (64-bit)
.

@Plunkett112358
Copy link

Hey, I was wondering if there is a solution to this yet. Having a similar issue.

Thanks!

@desandro
Copy link
Member

desandro commented Jun 2, 2015

Thanks for reporting this issue.

The solution is to trigger resize after a hidden Flickity gallery is un-hidden.

$gallery.show()
  .flickity('resize')

See example: http://codepen.io/desandro/pen/eNvdoo

I've added this to the resize docs.

@bcalik
Copy link

bcalik commented Sep 24, 2016

@desandro calling resize does not work for me.

@metafizzy metafizzy locked and limited conversation to collaborators Sep 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants