Skip to content

Commit 580b8d5

Browse files
jgw96adamdbradley
authored andcommitted
fix(slides): delay loading slides until view ready
Closes #7089
1 parent 153aaaa commit 580b8d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/slides/slides.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ export class Slides extends Ion {
396396
setTimeout(() => {
397397
var swiper = new Swiper(this.getNativeElement().children[0], options);
398398
this.slider = swiper;
399-
});
399+
}, 300);
400400

401401
/*
402402
* TODO: Finish this
@@ -736,7 +736,7 @@ export class Slides extends Ion {
736736
if (this.length() > 10) {
737737
this.showPager = false;
738738
}
739-
});
739+
}, 300);
740740
}
741741

742742
/**

0 commit comments

Comments
 (0)