-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Build failure on React Native 0.78 – Kotlin compilation error in MenuViewManagerBase.kt #1041
Comments
is any update? i am also facing the same issue |
The following change resolves the issue but I'm not sure if introducing this change means dropping support for any versions of diff --git a/android/src/main/java/com/reactnativemenu/MenuViewManagerBase.kt b/android/src/main/java/com/reactnativemenu/MenuViewManagerBase.kt
index 0cd90f4..4731e1a 100644
--- a/android/src/main/java/com/reactnativemenu/MenuViewManagerBase.kt
+++ b/android/src/main/java/com/reactnativemenu/MenuViewManagerBase.kt
@@ -206,7 +206,7 @@ abstract class MenuViewManagerBase : ReactClippingViewManager<MenuView>() {
@ReactProp(name = ViewProps.OVERFLOW)
fun setOverflow(view: ReactViewGroup, overflow: String?) {
- view.overflow = overflow
+ view.setOverflow(overflow)
}
@Naturalclar could you take a look at this patch? |
I can confirm this fix works on RN 0.78.0. Thanks a lot!!! |
After upgrading our React Native app from 0.77 to 0.78, our Android build now fails due to a Kotlin compilation error in the react‑native‑menu package. The error message is:
Steps to Reproduce:
npm install
oryarn install
to update dependencies.react-native run-android
(or your preferred build command).Environment Details:
Expected Behavior:
The app should build successfully without encountering Kotlin compilation errors.
I really appreciate big developers time and energey. They are my heros and oneday will be like them sothat i also can contribue instead of issueing 🫡💓
The text was updated successfully, but these errors were encountered: