-
Notifications
You must be signed in to change notification settings - Fork 17
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
Gridifier items flashes when filtering #15
Comments
Hello. Can you post full source code? |
@nix23 I've just edited my answer above. Hope you can figure this out 👍 |
Your code looks similar to this example https://codepen.io/anon/pen/EoyWXw and I cannot reproduce flickering in that example. Maybe some CSS/JS code before "portfolio" is affecting nested grid. (It is hard to tell without full minimal test case) |
@nix23 The website is online now. You can see the flashing at velofilms.nl When you clicked some filters, the grid will start flashing. |
The problem lies in this 2 lines: (looks like they are breaking parent animation) .col__content {
-webkit-transition: all .3s ease;
transition: all .3s ease;
} If you rm them flickering goes away. So you have 2 options here depending on your use case:
.col_content {
-webkit-transition: height .3s ease;
transition: height .3s ease;
} |
Hi,
I've setup gridifier with this little code:
Template:
Script:
Style:
But when I filter the items the grid is flashing when the items disappears. Also I've applied the css from the documentation. The grid and columns are from Bootstrap 4.
The text was updated successfully, but these errors were encountered: