RectButton
, BorderlessButton
and BaseButton
don't have support for View ref methods
#2894
Labels
Platform: Android
This issue is specific to Android
Platform: iOS
This issue is specific to iOS
Platform: MacOS
Platform: Web
Repro provided
A reproduction with a snack or repo is provided
Description
When passing refs to any of the aforementioned components, none of
react-native
'sView
methods are available, which means it is not possible to callmeasure
ormeasureLayout
for these components.Steps to reproduce
ref
down toRectButton
,BorderlessButton
orBaseButton
ref.current.measure()
Snack or a link to a repository
https://snack.expo.dev/@tonihm96/react-native-gesture-handler-example
Gesture Handler version
2.14.0
React Native version
0.73.6
Platforms
Android, iOS, Web, MacOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
Pixel 2 XL UpsideDownCake
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: