mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-17 23:04:40 +08:00
Proper implementation of [RCTWrapper sizeThatFits:]
Differential Revision: D6677097 fbshipit-source-id: 8ab3567cd6b0b23e89b8048d324b86700a01979b
This commit is contained in:
committed by
Facebook Github Bot
parent
67a3c42d1a
commit
c75612219e
@@ -84,7 +84,7 @@
|
||||
{
|
||||
UIView *contentView = self.contentView;
|
||||
if (!contentView) {
|
||||
return size;
|
||||
return [super sizeThatFits:size];
|
||||
}
|
||||
|
||||
return [contentView sizeThatFits:size];
|
||||
|
||||
Reference in New Issue
Block a user