mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(slides): update core slides
This commit is contained in:
@ -1,8 +1,15 @@
|
||||
|
||||
// Slide
|
||||
// --------------------------------------------------
|
||||
|
||||
ion-slide {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
visibility: inherit !important;
|
||||
}
|
||||
|
||||
ion-slide.upgraded {
|
||||
visibility: inherit;
|
||||
}
|
||||
|
||||
.slide-zoom {
|
||||
|
@ -2,7 +2,14 @@
|
||||
@import "./slides-import";
|
||||
|
||||
|
||||
// Slides
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
ion-slides {
|
||||
display: block;
|
||||
visibility: inherit !important;
|
||||
}
|
||||
|
||||
ion-slides.upgraded {
|
||||
visibility: inherit;
|
||||
}
|
||||
|
@ -529,7 +529,7 @@ export class Slides {
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
ionViewWillUnload() {
|
||||
ionViewDidUnload() {
|
||||
this._init = false;
|
||||
|
||||
this.swiper.destroy(true, true);
|
||||
|
Reference in New Issue
Block a user