Browse files

fix(if-core.js): child view re-binding issue

sets showing to false on unbind to ensure binding is carried out when view is re-shown

nested views were not re-bound when parent was re-shown
  • Loading branch information...
discoaaron committed Oct 18, 2017
1 parent ce9878d commit 82cb3313e5ccaac5376fa490305a5c73a4a33eb7
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/if-core.js
@@ -31,6 +31,7 @@ export class IfCore {
// For example a view could be returned to the cache and reused while it's still
// attached to the DOM and animated.
if (!this.viewFactory.isCaching) {
this.showing = false;

0 comments on commit 82cb331

Please sign in to comment.