We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42c4f6b commit 32faeb5Copy full SHA for 32faeb5
src/mobilebone.js
@@ -185,6 +185,8 @@
185
}
186
187
// do transition
188
+ pageInto.style.display = "block";
189
+ pageInto.clientWidth;
190
pageInto.classList.remove("out");
191
pageInto.classList.add("in");
192
pageOut && pageInto.classList.add(params_in.form);
@@ -209,6 +211,12 @@
209
211
});
210
212
if (!store[pageid]) {
213
var animateEventName = isWebkit? webkitkey: animationkey;
214
+ index && pageInto.addEventListener(animateEventName, function() {
215
+ if (this.classList.contains("in") == false) {
216
+ this.style.display = "none";
217
+ }
218
+ });
219
+
220
if (typeof animition == "string" && params_in.root[animition]) {
221
pageInto.addEventListener(animateEventName, function() {
222
params_in.root[animition](this, this.classList.contains("in")? "into": "out");
0 commit comments