Skip to content

React Native V0.71.0 Shadow Warnings #3593

Open
@stakez

Description

@stakez

Current behaviour

Since upgrading to React Native 0.71.0, the following warning has been occurring
WARN (ADVICE) View #1853 of type RCTView has a shadow set but cannot calculate shadow efficiently. Consider setting a background color to fix this, or apply the shadow to a more specific component.

After removing several React Native paper Components (especially Surface), the warnings dropped. After reverting to original, the warnings all return.

Expected behaviour

No warning should be shown.

How to reproduce?

Run a React Native App using V0.71.0 and view the terminal running react-native start

Preview

Screenshot 2023-01-12 at 1 37 48 PM

Your Environment

software version
react-native 0.71.0
react-native-paper ^5.1.2
node 18.12.1
npm or yarn yarn
expo sdk not applicable

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