Skip to content

Error/warnings that appear on bottom makes whole app unresponsive for a few seconds. #31596

Closed
@canpoyrazoglu

Description

@canpoyrazoglu

Description

Last several weeks (probably after 0.64 or 0.64.1) I've noticed that my app becomes totally unresponsive whenever an error or warning occurs (regardless of the error or warning). I'm talking about these ones that appear on the bottom:

Screen Shot 2021-05-26 at 14 28 56

When the app is crashed for a few seconds, the dismiss (X) button of the warning dialog is consistently not rendered (which might be a clue about the cause of the problem) as seen in the screenshot (the button is there but without the X image) and app, including that dialog, is completely unresponsive other than native side (e.g. native scrolling works, but no RN event is triggered). After a few seconds (sometimes even up to 10 seconds) pass, everything continues working normally.

I'm on Simulator (iPhone 12) iOS 14.5

React Native version:

System:
    OS: macOS 11.3.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 25.07 GB / 64.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.9.0 - /usr/local/bin/node
    Yarn: 1.22.5 - /usr/local/bin/yarn
    npm: 7.10.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      Android NDK: 17.2.4988734
  IDEs:
    Android Studio: 4.1 AI-201.8743.12.41.6858069
    Xcode: 12.5/12E262 - /usr/bin/xcodebuild
  Languages:
    Java: 10.0.2 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: ^17.0.2 => 17.0.2 
    react-native: ^0.64.1 => 0.64.1 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

  1. Have a RN error or warning box appear for any reason.
  2. App crashes for a few seconds, sometimes up to 10 seconds.

Expected Results

Error/warning should appear normally without a lag as it used to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Triage 🔍StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions