Closed kokosky93 closed 1 month ago
Also hearing about this in production. Could it have something to do with using defaultValue
?
not sure if my issue is the same, but I also have a problem with the TextInput component in the iOS simulator.
As soon as I focus the input the app freezes and is completely unresponsive, although the input cursor is still blinking.
Tested the same behavior on a physical device, and there it works normally.
it appeared first after upgrading a project from RN 0.72.10 to 0.73.4, with many dependencies but I get the same behavior with an almost empty starter project with an additional TextInput.
Unfortunately I don't have an actual error message, but I can provide a crash log as the system seemed to be unable to normally close the app after it froze
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: 88DE74BC-CFC7-45E9-B633-F4F63A198E61
CrashReporter Key: 4309EC29-546D-69D4-E02D-061420A1CA07
Hardware Model: MacBookPro18,3
Process: [4414]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/21F0E321-FDD5-49F7-8C3E-0F25756760CF/data/Containers/Bundle/Application/F934401B-09DF-499B-B170-1B62DBD0FAC6/.app/
Identifier: org.reactjs.native.example
Version: 1.0 (1)
Code Type: ARM-64 (Native)
Role: Background
Parent Process: launchd_sim [23988]
Coalition: com.apple.CoreSimulator.SimDevice.21F0E321-FDD5-49F7-8C3E-0F25756760CF [23951]
Responsible Process: SimulatorTrampoline [94008]
Date/Time: 2024-02-13 21:09:40.4549 +0100
Launch Time: 2024-02-13 21:06:23.6019 +0100
OS Version: macOS 14.2.1 (23C71)
Release Type: User
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: FRONTBOARD 2343432205
@kaoDev I also have this problem.
Here is a similar issue opened for crashing an app on input click.
@kokosky93 ah yes, that's pretty much the crash I see as well. But it's independent from the KeyboardAvoidingView for me
yesterday I checked with two colleagues, and it seems to be a "my machine" issue. Don't know yet what's wrong but it is working fine on their machines
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Description
TextInput is super slow on ios emulator. Especially if there is more than one input on the screen. On a real device it seems to be working normal.
I upgraded react-native from 71.X to 73.4 and xCode from 14 to 15.
I got this error when publishing the app
Guideline 2.1 - Performance - App Completeness
We discovered one or more bugs in your app. Specifically, login screen was unresponsive. Please review the details below and complete the next steps.
Review device details:
Steps to reproduce
npx react-native init AwesomeProject
Add
React Native Version
0.73.4
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/kokosky93/text-input
Screenshots and Videos
https://github.com/facebook/react-native/assets/54596576/19dedf3f-e7fe-48ea-9c4e-e6e31cffbfa9