any way to get height of grid? #429
Unanswered
koreanddinghwan
asked this question in
Q&A
Replies: 1 comment
-
Hey @koreanddinghwan! Do you mean that wrapping the grid with a Something like this should return correct values: <View
onLayout={({ nativeEvent: { layout } }) => {
console.log(layout);
}}>
<Sortable.Grid
columnGap={10}
columns={3}
data={DATA}
renderItem={renderItem}
rowGap={10}
/>
</View> If it doesn't work, can you tell me if you experience this issue on a specific platform (e.g. Android / iOS / the New Architecture / the Old Architecture)? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
is there any way to get height of grid or flex component?
i tried wrapping <Sortable.Grid> with . but the onLayout event does not return height of grid(it return 0 height)
Beta Was this translation helpful? Give feedback.
All reactions