-
Notifications
You must be signed in to change notification settings - Fork 80
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
Previous slides block the current slides when you use wallop--fade.css #54
Comments
Thanks for this. Will take a better look when I get home. |
wallop-2.2.2 Here you can see the problem: And here you'll find a CSS fix: On Mon, Oct 12, 2015 at 11:58 PM, Pedro Duarte notifications@github.com
Gilbert |
Thanks, I'll take a look. 👍 |
Po mano arruma ai |
This should be fixed now. Please download latest release. Test: http://codepen.io/peduarte/pen/NGXJoV Thanks! |
Hello, I love this library but I think improving this tiny detail could make it even better.
If the current slide have buttons or a div with scroll they won't work unless you send the previous slides back (z-index: 0) at the end of the animation.
You'll probably find a better solution but changing this in the wallop--fade.css fixed the issue for me:
/*
.Wallop--fade .Wallop-item--hidePrevious,
.Wallop--fade .Wallop-item--hideNext { z-index: 2; }*/
.Wallop--fade .Wallop-item--showPrevious,
.Wallop--fade .Wallop-item--showNext { z-index: 1; }
/========== FADE ANIMATIONS ==========/
@-webkit-keyframes fadeOut {
0% {
opacity: 1;
z-index: 2;
}
99% {
opacity: 0;
z-index: 2;
}
100% {
opacity: 0;
z-index: 0;
}
}
@-moz-keyframes fadeOut {
0% {
opacity: 1;
z-index: 2;
}
99% {
opacity: 0;
z-index: 2;
}
100% {
opacity: 0;
z-index: 0;
}
}
@-ms-keyframes fadeOut {
0% {
opacity: 1;
z-index: 2;
}
99% {
opacity: 0;
z-index: 2;
}
100% {
opacity: 0;
z-index: 0;
}
}
@Keyframes fadeOut {
0% {
opacity: 1;
z-index: 2;
}
99% {
opacity: 0;
z-index: 2;
}
100% {
opacity: 0;
z-index: 0;
}
}
The text was updated successfully, but these errors were encountered: