[iOS] Shadow styles are unexpectedly applied to elements in the subtree
オープン
まだ誰も着手していません。
Bug
Impact: Bug
Never gets stale
Platform: iOS
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
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
- Open: https://snack.expo.dev/MmY5VRLKN
- Select iOS preview
- 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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされた Snack の再現を iOS プレビューで開始し、Fabric での挙動と比較します。ラップしている View の iOS 専用 shadow props がそのサブツリーにどのような影響を与えるかを追跡します。完了条件は、子孫のテキストが影を受けなくなり、背景が影の色で着色されないことです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, react-native
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100