Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with Android 4.4, RN 0.63.0 #189

Open
zwigglers opened this issue Jul 18, 2020 · 1 comment
Open

Crash with Android 4.4, RN 0.63.0 #189

zwigglers opened this issue Jul 18, 2020 · 1 comment

Comments

@zwigglers
Copy link

zwigglers commented Jul 18, 2020

I get the following crash while using the v0.15.8 of the library with Android 4.4 and RN 0.63.0. The issue seems to be limited to Android 4.
Error while updating property 'nativeBackgroundAndroid' of a view managed by: RCTView

This seems to be caused by the TouchableNativeFeedback component used by the makeTouchable method in helpers.js.

I managed to solve the problem by overriding the Touchable component used in MenuTrigger and MenuOption by doing customStyles={{ OptionTouchableComponent: TouchableHighlight }} or TriggerTouchableComponent for MenuTrigger

I found notes relating to the Android compatibility with TouchableNativeFeedback here: https://reactnative.dev/docs/touchablenativefeedback#ripple. But I can't find any use of TouchableNativeFeedback .Ripple or TouchableNativeFeedback .SelectableBackgroundBorderless in the react-native-popup-menu.

@mashad6
Copy link

mashad6 commented Nov 20, 2021

I am facing the same issue, any work around on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants