Closed FrontEndNoah closed 10 months ago
I found a solution, code like this
<Target name="color">
<View
style={[
// at least one style needs to be set, some work(like backgroundColor: '#0000'), some not work(like height: 'auto')
]}
ref={color}>
<HomeColor />
</View>
</Target>
but I still hope to get measure
directly through Target
...
measure isn’t the right function. you can check the source code to see how it works.
measure isn’t the right function. you can check the source code to see how it works.
I checked the documentation and it seems to be the reason for Collapsable
I have tried to calculate using
measure
, but not work on ts: