You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unbind() {
this.scope = null;
this.items = null;
this.matcherBinding = null;
//replace this line
//this.viewSlot.removeAll(true);
//with this one
this.viewSlot.removeAll(true, true);
this._unsubscribeCollection();
}
As far as I can tell this causes repeater to skip leaving animations for children. Otherwise the repeater gets problematic state if it is bound again when if.bind becomes true while leaving animations are still in progress.
In the case I had, repeater DOM elements are already removed when unbind is invoked so it seems reasonable to skip animations at that point. But I can't be sure if there is no other case where it might be required, so input is needed from someone with better knowledge of the framework.
I'm submitting a bug report
1.4.0
Please tell us about your environment:
Operating System:
Windows 8
Node Version:
6.9.2
4.3.0
Aurelia CLI 0.30.1
Browser:
Chrome 60
Language:
TypeScript 2.4.2
Current behavior:
main.ts
app.ts
app.html
add item-details.html file in /src/ folder
add item-details.ts file in /src/ folder
au run, load page, see "toggle" checkbox, list of three items. Click "toggle" checkbox twice under one second, see output in console:
Expected/desired behavior:
Expected output:
The text was updated successfully, but these errors were encountered: