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

First responder issue on react native alert #107

Closed
s-maxx opened this issue Dec 2, 2022 · 2 comments
Closed

First responder issue on react native alert #107

s-maxx opened this issue Dec 2, 2022 · 2 comments

Comments

@s-maxx
Copy link

s-maxx commented Dec 2, 2022

Hi and thanks for all your work on this repo ! I'm kinda new to swift, so sorry in advance for my ignorance, but it seems that implementing the scene delegates (PhoneScene, as explained in #85 ) breaks the alerts in react native ... I get the following error:

[View] First responder issue detected: non-key window attempting reload - allowing due to manual keyboard (first responder window is <UIWindow: 0x125723dc0; frame = (0 0; 375 812); autoresize = W+H; gestureRecognizers = <NSArray: 0x282a29740>; layer = <UIWindowLayer: 0x2829fcf90>>, key window is <UIWindow: 0x123f11a60; frame = (0 0; 375 812); gestureRecognizers = <NSArray: 0x2829d7150>; layer = <UIWindowLayer: 0x2829d6ee0>>)

I've tried upgrading to the latest RN 0.70.6, with no success.

Does anyone has the same issue ? Or not ? Does anyone know how to fix this ? thanks a lot :) !

@s-maxx s-maxx changed the title First responder issue on new alert First responder issue on react native alert Dec 7, 2022
@s-maxx
Copy link
Author

s-maxx commented Dec 12, 2022

Well I'm surprised no one else has experienced this here, but apparently it is a react native issue, mentioned here facebook/react-native#31251, and it has not been fixed in react native even though a recent comment says otherwize. But the solution given in the issue thread worked for me.

@s-maxx s-maxx closed this as completed Dec 12, 2022
@gavrichards
Copy link

I've experienced this, but as you say, it's a known React Native issue.

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