Skip to content

fix(Gallery): Should update thumbnails when maxRows changes #35

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 20, 2017

Conversation

SimeonC
Copy link
Contributor

@SimeonC SimeonC commented Jul 20, 2017

I was using some JS to change whether we showed 1 row or two on a breakpoint and some other funky js due to SSR which meant I have to render 1 row then figure out if we show 2 and noticed that when I changed the maxRows setting the thumbnails didn't update.

This PR fixes that.

@benhowell
Copy link
Owner

benhowell commented Jul 20, 2017

Thanks very much @SimeonC, nice catch!
Will merge... 👍

@benhowell benhowell merged commit ea59499 into benhowell:master Jul 20, 2017
@SimeonC
Copy link
Contributor Author

SimeonC commented Jul 20, 2017

Wow, so quick!! Thanks.

@benhowell
Copy link
Owner

No worries!
Your PR is now in release v0.4.1.
Enjoy.

@SimeonC SimeonC deleted the fix-change-maxRows branch September 15, 2017 02:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants