Skip to content

RCTLogBox window is orphaned, covering entire screen #32434

Description

@paddlefish

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

After dismissing a log box, instead of the window closing it stays up, covering the entire screen. All touch events are sent to this window, making your app appear unresponsive.

React Native version:

info Fetching system and libraries information...
System:
OS: macOS 11.6
CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
Memory: 594.77 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.5 - /var/folders/0p/9rg5ktq9567gdp5_wxtry09c0000gn/T/yarn--1634585580336-0.73268870857558/node
Yarn: 1.22.11 - /var/folders/0p/9rg5ktq9567gdp5_wxtry09c0000gn/T/yarn--1634585580336-0.73268870857558/yarn
npm: 7.23.0 - ~/.nvm/versions/node/v14.17.5/bin/npm
Watchman: 2021.06.07.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.2 - /Users/arahn/.rvm/gems/ruby-2.6.3/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0
Android SDK: Not Found
IDEs:
Android Studio: 4.2 AI-202.7660.26.42.7351085
Xcode: 13.0/13A233 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_65 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.66.1 => 0.66.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Use console.warn to generate a yellow warning message in log box
  2. click the log
  3. tap "dismiss"
  4. try to tap anywhere

Expected Results

The tap is received by your app

Actual Results

The tap goes to a hidden window that is covering the entire screen

Snack, code example, screenshot, or link to a repository:

RCTLogBoxView

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions