-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
App getting crashed with new arch enabled when we touch at both top and bottom edges - EventEmitter#receiveTouches is not supported by the Fabric Interop Layer #714
Comments
@henninghall - any suggestions for a temporary/immediate resolution to the above issue? awaiting for your reply. Thanks. |
Hi, could you share a screencap of how to reproduce this? |
@henninghall - Attached the screenshot (marked the touch area in red color) for your reference. On picker view if we touch somewhere above 07:56 on top or below 11:00 or while fast scrolling and touches at edges top/bottom, it’s getting crashed and resulting in above error shared previously. Sample code - This behaviour is seen esp. in Android but in iOS. Also the border color is not seen in android but reflecting in iOS. |
I can't reproduce this, could you provide a repo where this is reproducable? What react native version are you using? |
(meanwhile you can use |
Hi @henninghall, currently we are using "react-native": "0.72.4", "react-native-date-picker": "^4.3.3" and enabled new architecture, hermes Recording_2023-10-16-18-11-53.mp4 |
@henninghall Did you take a look at this issue and suggest a remedy? let me know if you require any additional details. Looking for your response |
Looked at it a bit, still not reproduced. Are you running an emulator? Which sdk? One thing you can try, I don’t think it will work but React Native 0.62.6 had som fix for the event emitter. If possible it would be really helpful if you could share a repo where this is reproducible. |
@henninghall - Able to reproduce this issue across android OS 11, 12, 13 devices when the date picker is added in a modal and touch at top/bottom of date picker. This error is not seen with out modal and in normal view.
If we run and see the above sample code, there will be some grey color area between date picker, modal edges and touching that area is crashing. Will try to create git repo and share it. |
Tried the code above with new arch and hermes, could not reproduce the crash. If you could share a repo, we can continue from there. |
This actual issue of all last versions & newArchEnabled=true. On prev. "react-native-date-picker": "^3.3.2", app crash when render on last version crash when call method onDateChange. "react-native": "0.73.4",
|
Same issue, with below case, When mode: spinner, inside modal and fabric enabled. |
@henninghall , could you reopen the issue and look into it. |
Please anyone found this solution getting same issue in "react-native-date-picker": "^5.0.4", |
Where i'm already using flavours |
exactly |
FATAL EXCEPTION: main |
We also faced this issue when using date-picker v5.0.7 inside of a react-native Modal. |
Dear @Team,
Thanks for upgrading and providing support for new arch. We are seeing a weird issue with date time picker modal esp. when we touch at top/bottom edges of picker view.
Currently we are using 4.3.3 version.
Unfortunately i was not able to upload the screenshot reference.
java.lang.UnsupportedOperationException: EventEmitter#receiveTouches is not supported by the Fabric Interop Layer
at com.facebook.react.fabric.interop.InteropEventEmitter.receiveTouches(InteropEventEmitter.java:57) at com.facebook.react.uimanager.events.TouchesHelper.sendTouchesLegacy(TouchesHelper.java:103)
at com.facebook.react.uimanager.events.ReactEventEmitter.receiveTouches(ReactEventEmitter.java:93)
The text was updated successfully, but these errors were encountered: