react-native icon indicating copy to clipboard operation
react-native copied to clipboard

[iOS] Shadow styles are unexpectedly applied to elements in the subtree

Open necolas opened this issue 2 years ago • 3 comments

Description

Setting the iOS-only shadow* style props on a View can unexpectedly apply shadows to multiple elements in the view's subtree. This issue can be reproduced in Fabric too.

Version

0.68

Output of npx react-native info

...

Steps to reproduce

  1. Open: https://snack.expo.dev/MmY5VRLKN
  2. Select iOS preview
  3. Notice how the shadow applied to a wrapping view causes text elements to receive a shadow, and the background to be tinted the color of the shadow

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

https://snack.expo.dev/MmY5VRLKN

image

necolas avatar Jun 06 '22 20:06 necolas

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.

github-actions[bot] avatar Dec 04 '22 02:12 github-actions[bot]

Remains an issue

necolas avatar Dec 04 '22 07:12 necolas

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.

github-actions[bot] avatar Feb 17 '24 05:02 github-actions[bot]