iOS 27: tab selection flickers on long-press release with the doc.text SF Symbol
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- ios, react-native, typescript
- 領域
- frontend, mobile-dev
調査の方向性
The reproduction is in packages/example-shared/src/Examples/Roles.tsx; start by running the iOS 27 scenario with doc.text and compare it with document or document.fill. Then trace the native image/appearance update path implicated by the symbol-dependent behavior; done means the original doc.text case no longer flickers while Search selection settles once.
索引モデルが issue の本文から書いたものです。
説明
Summary
On iOS 27, the Roles example's tab bar visibly flickers after long-pressing and releasing a tab. Recordings show the selection highlight briefly moving back toward Albums before settling on Search as the destination content appears.
The smallest verified change is Article's SF Symbol: changing only doc.text to document or document.fill avoids the release flicker. Restoring doc.text brings it back. This establishes a symbol-dependent trigger in this configuration, not the underlying native cause.
Environment
- iOS 27.0, iPhone 18 Pro simulator
- Local development build of react-native-bottom-tabs
- Example:
packages/example-shared/src/Examples/Roles.tsx - Verified with agent-device 0.20.10 and recorded 1,200 ms long presses
- Reporter observes the issue only on iOS 27; earlier iOS versions were not independently retested during this isolation
Reproduction
- Open Roles with the Search role selected and experimental baked tint colors off.
- Start on Article.
- Long-press Search for about 1.2 seconds, then release.
- Observe the second highlight movement/flicker as Search content appears.
- Change only Article's icon as shown below, reload, and repeat: the release flicker is no longer observed.
- Restore
doc.text, reload, and repeat: the flicker returns.
{
key: 'article',
title: 'Article',
- focusedIcon: { sfSymbol: 'doc.text' },
+ focusedIcon: { sfSymbol: 'document' },
}
Expected: selection settles smoothly on Search without replaying the highlight movement on release.
Actual: with doc.text, the highlight briefly returns toward Albums before settling on Search.
Isolation results
Each change below was compared with the original Roles configuration on iOS 27.
| Change | Release flicker |
|---|---|
Original Article symbol: doc.text |
Reproduces |
Remove Search testID |
Still reproduces |
Change route key role to contacts and update SceneMap |
Still reproduces |
Change Search icon to person.fill |
Still reproduces |
Add Article unfocusedIcon: { sfSymbol: 'doc.text' } |
Still reproduces |
Article focused doc.text.fill + unfocused doc.text |
Still reproduces |
Change only Article icon to document |
Not observed |
Change only Article icon to document.fill |
Not observed |
Restore original doc.text |
Reproduces again |
Copying SFSymbols' routes also avoids the glitch. The one-line Article symbol substitution achieves that without changing Search's role, magnifying-glass icon, testID, route keys, or tint props. Earlier separate tests removing custom tint props or enabling sidebarAdaptable did not remove the flicker. Baked tint colors were off in these recordings.
The earlier testID/identifier hypothesis was ruled out. It remains unverified whether the underlying cause is in SwiftUI/UIKit or the library's native image/appearance updates. The recordings alone do not establish a React remount or rerender as the cause. All temporary source edits were restored after verification.
Videos
Original doc.text — flicker reproduces
https://github.com/user-attachments/assets/21d2ccdc-5590-4f04-9800-a5c12d99cf75
Only Article changed to document — no release flicker observed
https://github.com/user-attachments/assets/a7d5a853-af4e-481a-b432-d783ecae1ba8
Original reporter recording — Roles versus SFSymbols
https://github.com/user-attachments/assets/0e4d7971-360e-486a-9ecb-d3177b30ba13
- 主要言語
- TypeScript
- スター
- 1.5k
- フォーク
- 108
- 平均マージ
- 12時間 42分
- マージ済み PR(30日)
- 9
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstack/react-native-bottom-tabs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
callstack/react-native-bottom-tabs#591 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
callstack/react-native-bottom-tabs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
vercel-labs/just-bash#464 ·
-
looksLikeSlug() is ASCII-only, so non-Latin entity slugs (e.g. Korean) skip exact match and collapse オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
TanStack/tanstack.com#1293 ·