iOS:Fix ListNode cannot measure content height properly

This commit is contained in:
pengfei.zhou
2021-04-14 12:39:38 +08:00
committed by osborn
parent 4873ff535d
commit b762b9db4b
3 changed files with 28 additions and 4 deletions

View File

@@ -50,9 +50,9 @@ class ListVH extends ViewHolder {
itemCount: 0,
layoutConfig: {
widthSpec: LayoutSpec.MOST,
heightSpec: LayoutSpec.JUST,
weight: 1
heightSpec: LayoutSpec.FIT,
},
backgroundColor: Color.YELLOW,
})
],
{