Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[WEEX-573][iOS] try to solve transition's occasional crash (#1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
doumafang authored and cxfeng1 committed Aug 16, 2018
1 parent 328c636 commit 5e60c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/sdk/WeexSDK/Sources/Model/WXComponent.mm
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ - (void)_updateStylesOnComponentThread:(NSDictionary *)styles resetStyles:(NSMut

BOOL isTransitionTag = _transition ? [self _isTransitionTag:styles] : NO;
if (isTransitionTag) {
[_transition _handleTransitionWithStyles:styles resetStyles:resetStyles target:self];
[_transition _handleTransitionWithStyles:[styles mutableCopy] resetStyles:resetStyles target:self];
} else {
styles = [self parseStyles:styles];
[self _updateCSSNodeStyles:styles];
Expand Down

0 comments on commit 5e60c78

Please sign in to comment.