Skip to content

Commit

Permalink
Build Fix (#301)
Browse files Browse the repository at this point in the history
* Build Fix

* Build fix

* Reverting unnecessary changes
  • Loading branch information
naqvitalha authored and ananyachandra14 committed Feb 6, 2019
1 parent 8535de7 commit 2f86a3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"@types/prop-types": "15.5.2",
"@types/react-native": "0.49.5",
"@types/react": "16.4.7",
"file-directives": "^1.4.6",
"tslint": "^5.11.0",
"typescript": "^3.1.1"
"file-directives": "1.4.6",
"tslint": "5.11.0",
"typescript": "3.3.1"
}
}
2 changes: 1 addition & 1 deletion src/platform/web/itemanimators/DefaultWebItemAnimator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class DefaultWebItemAnimator implements BaseItemAnimator {
const element = itemRef as HTMLDivElement;
if (!this.shouldAnimateOnce || this.shouldAnimateOnce && !this._hasAnimatedOnce) {
const transitionEndCallback: EventListener = (event) => {
element.style.transition = null;
element.style.transition = "";
element.removeEventListener("transitionend", transitionEndCallback);
this._hasAnimatedOnce = true;
};
Expand Down

0 comments on commit 2f86a3a

Please sign in to comment.