feat:fix Refreshable pulldown and so on

This commit is contained in:
pengfei.zhou
2019-11-27 13:30:31 +08:00
parent a41036c91d
commit 9be891e284
6 changed files with 31 additions and 3 deletions

View File

@@ -543,7 +543,7 @@ - (CGSize)targetLayoutSize {
width = self.superview.width;
}
if (self.layoutConfig.heightSpec == DoricLayoutAtMost
|| self.layoutConfig.widthSpec == DoricLayoutWrapContent) {
|| self.layoutConfig.heightSpec == DoricLayoutWrapContent) {
height = self.superview.height;
}
return CGSizeMake(width, height);