Closed NoodleOfDeath closed 1 year ago
Describe the bug Pressing any action prompts an undefined is not a function error on line 3 of MenuItem.tsx
undefined is not a function
MenuItem.tsx
To Reproduce Steps to reproduce the behavior:
HoldMenuProvider
HoldItem
items={ [ { onPress: () => alert('wtf'), text:'what the actual fuck' }] }
yarn start --resetCache
Expected behavior An alert message that says wtf
wtf
Actual behavior A runtime js error... will investigate to see if this is because react-native-reanimated is v3 instead of v2
Screenshots If applicable, add screenshots to help explain your problem.
Package versions
18.2.0
^0.71.8
^3.3.0
^0.1.6
^48.0.0
Additional context Add any other context about the problem here.
okay, seems like it was a react-native-renanimated issue. downgrading to 2.7.0 fixed this. will you make support for v3. my app kind of needs it
Describe the bug Pressing any action prompts an
undefined is not a function
error on line 3 ofMenuItem.tsx
To Reproduce Steps to reproduce the behavior:
HoldMenuProvider
at the top of stack.HoldItem
component withitems={ [ { onPress: () => alert('wtf'), text:'what the actual fuck' }] }
yarn start --resetCache
Expected behavior An alert message that says
wtf
Actual behavior A runtime js error... will investigate to see if this is because react-native-reanimated is v3 instead of v2
Screenshots If applicable, add screenshots to help explain your problem.
Package versions
18.2.0
^0.71.8
^3.3.0
^0.1.6
^48.0.0
Additional context Add any other context about the problem here.