Skip to content

Commit 030f280

Browse files
authored
Exchange animationFrameId and cancelAnimationFrame (#777)
1 parent e35974f commit 030f280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/picker/src/picker-slot.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@
285285
});
286286
287287
once(el, translateUtil.transitionEndProperty, () => {
288-
this.animationFrameId = null;
289288
cancelAnimationFrame(this.animationFrameId);
289+
this.animationFrameId = null;
290290
});
291291
},
292292

0 commit comments

Comments
 (0)