Skip to content

Warning Box should not be visible in Release mode #905

Closed
@ericvicenti

Description

@ericvicenti

Environment

react-native-macos: 0.64.10

Steps to reproduce the bug

Build an app in release mode with npx react-native run-macos --configuration Release. Then cause a warning to happen

One easy way to trigger a warning (this should probably be a separate issue):

  • Set a Text component to selectable=true
  • Right click on the text component so the "copy" option is visible
  • Click elsewhere in the application
  • The following warning will appear (even in release mode!)

Screen Shot 2021-11-18 at 11 17 18 AM

Expected Behavior

Warnings should be silently ignored in release mode

Actual Behavior

Screen Shot 2021-11-18 at 11 17 18 AM

Reproducible Demo

No response

Additional context

No response

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