Skip to content

Commit

Permalink
fix(element): reset initialized flag on disconnectedCallback (#6474)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdebeasi authored Mar 9, 2023
1 parent 0c8ae8b commit 1e4a235
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/element/swiper-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ class SwiperContainer extends ClassToExtend {
if (this.swiper && this.swiper.destroy) {
this.swiper.destroy();
}
this.initialized = false;
}

updateSwiperOnPropChange(propName) {
Expand Down

0 comments on commit 1e4a235

Please sign in to comment.