Skip to content

Commit

Permalink
fix: initial transition and height
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelrahman3d committed Jan 30, 2019
1 parent c253562 commit 82c10e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Hooper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ export default {
this.currentSlide = normalizeSlideIndex(index, this.slidesCount);
this.isSliding = true;
window.setTimeout(() => {
this.$refs.track.style.transition = '';
this.isSliding = false;
}, this.$settings.transition);
Expand Down Expand Up @@ -522,6 +523,7 @@ export default {
position: relative;
box-sizing: border-box;
width: 100%;
height: 200px;
}
.hooper * {
box-sizing: border-box;
Expand Down

0 comments on commit 82c10e3

Please # to comment.