You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android , 触摸Modal就崩溃
RnVersion 0.65.1
java.lang.NullPointerException: Attempt to invoke interface method 'void com.facebook.react.uimanager.events.EventDispatcher.dispatchEvent(com.facebook.react.uimanager.events.Event)' on a null object reference
at com.facebook.react.uimanager.JSTouchDispatcher.handleTouchEvent(JSTouchDispatcher.java:86)
at com.facebook.react.views.modal.ReactModalHostView$DialogRootViewGroup.onInterceptTouchEvent(ReactModalHostView.java:521)
The text was updated successfully, but these errors were encountered:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'void
com.facebook.react.uimanager.events.EventDispatcher.dispatchEvent(com.facebook.react.uimanager.events.Event)' on a null object reference
at com.facebook.react.uimanager.JSTouchDispatcher.handleTouchEvent(JSTouchDispatcher.java:86)
at com.facebook.react.views.modal.ReactModalHostView$DialogRootViewGroup.onInterceptTouchEvent(ReactModalHostView.java:521)
@AndreyPatseiko
You are right, the default RN modal has supported statusBarTranslucent.
The issue I met in this library is the onPress event cannot be triggered on the modal on RN 0.66.1.
And I switched to default RN modal, it works well.
Android , 触摸Modal就崩溃
RnVersion 0.65.1
java.lang.NullPointerException: Attempt to invoke interface method 'void com.facebook.react.uimanager.events.EventDispatcher.dispatchEvent(com.facebook.react.uimanager.events.Event)' on a null object reference
at com.facebook.react.uimanager.JSTouchDispatcher.handleTouchEvent(JSTouchDispatcher.java:86)
at com.facebook.react.views.modal.ReactModalHostView$DialogRootViewGroup.onInterceptTouchEvent(ReactModalHostView.java:521)
The text was updated successfully, but these errors were encountered: