Skip to content

Commit

Permalink
Forgotten setNeedsLayout in -[UIManager intrinsicContentSize:]
Browse files Browse the repository at this point in the history
Summary: That fixes a regression introduced in D5990342.

Differential Revision: D6669153

fbshipit-source-id: e7d7342d58878703e188ef27d82af8196a8d950a
  • Loading branch information
shergin authored and facebook-github-bot committed Jan 5, 2018
1 parent e3c6f38 commit 46be5bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions React/Modules/RCTUIManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ - (void)setIntrinsicContentSize:(CGSize)intrinsicContentSize forView:(UIView *)v
}

shadowView.intrinsicContentSize = intrinsicContentSize;
[self setNeedsLayout];
} forTag:view.reactTag];
}

Expand Down

0 comments on commit 46be5bf

Please sign in to comment.