Proper implementation of [RCTWrapper sizeThatFits:]
Differential Revision: D6677097 fbshipit-source-id: 8ab3567cd6b0b23e89b8048d324b86700a01979b
This commit is contained in:
parent
67a3c42d1a
commit
c75612219e
|
@ -84,7 +84,7 @@
|
|||
{
|
||||
UIView *contentView = self.contentView;
|
||||
if (!contentView) {
|
||||
return size;
|
||||
return [super sizeThatFits:size];
|
||||
}
|
||||
|
||||
return [contentView sizeThatFits:size];
|
||||
|
|
Loading…
Reference in New Issue