[Android] Child `Text` disappears after changing styles of parent `View`
オープン
まだ誰も着手していません。
Issue: Author Provided Repro
Needs: Author Feedback
Platform: Android
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
Description
Adding borderWidth and then removing it from a View which also has borderRadius and overflow: "hidden" causes child Text to not be displayed.
I have reproduced the issue on 0.80.2, 0.81.4 and 0.82.1, so this is likely not a regression.
Steps to reproduce
Tap the button in the reproducer twice
React Native Version
0.82.1
Affected Platforms
Runtime - Android
Output of npx @react-native-community/cli info
-
Stacktrace or Logs
-
MANDATORY Reproducer
https://github.com/plneple/reproducer-react-native-fork/tree/text-inside-view
Screenshots and Videos
https://github.com/user-attachments/assets/8188dbab-3af6-4351-bed4-266cc88553c6
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
github.com/plneple/reproducer-react-native-fork/tree/text-inside-view にある必須の reproducer から始め、Android で実行します。ボタンを 2 回タップして、親 View の style が変更された後に子の Text が消えることを確認します。この一連の操作を通して Text が表示されたままであれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, react-native
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100