refactor(snackbar): modernize layout and action API
維護者通常 7 天內回覆
評估
這個 Issue 還沒有評估資料。
描述
Refactor SnackBar to improve Material Design 3 compliance, remove problematic children patterns, improve performance characteristics, and modernize the public API.
Problems
- Current API relies heavily on children composition in ways that are difficult to optimize
- Internal layout logic is tightly coupled to arbitrary child structures
- MD3 behaviors and visuals are not fully aligned with current Material guidelines
- Rendering performance can degrade in large lists or frequently updated screens
- Type safety and discoverability of the API can be improved
- The component has inconsistent behavior between platforms and edge cases
Focus Areas
- Improve action rendering model
- Improve responsiveness and multiline behavior
- Improve MD3 tonal surface handling
- Improve animation consistency
Proposed API Direction
<Snackbar visible message="Changes saved" action={{ label: 'Undo', onPress }} />
Performance Opportunities
- Reduce animated subtree complexity
- Improve portal rendering behavior
- Reduce unnecessary visibility transitions
- 主要語言
- TypeScript
- 星號
- 14.5k
- 分支
- 2.3k
- 平均合併
- 6 天 2 小時
- 30 天內合併 PR
- 1
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
callstack/react-native-paper 的其他 Issue
-
Menu ignores the keyboard when it mounts while the keyboard is already open可能已有人在做 @manchoudhary 於 39 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
callstack/react-native-paper#5096 ·
維護者通常 7 天內回覆
-
Color Picker Popup Is Obscured On "Guides -> Theming -> Creating Dynamic Theme Colors" Documentation On Both v5 and v6可能已有人在做 @fatihcvs 於 34 天前認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 68/100
callstack/react-native-paper#5093 ·
維護者通常 7 天內回覆
-
Tooltip: onPress event object is not propagated to parent component on native可能已有人在做 @Shevilll 於 125 天前認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 74/100
callstack/react-native-paper#5003 ·
維護者通常 7 天內回覆
-
Snackbar stays mounted after `visible=false` under new architecture (iOS + Android)可能已有人在做 @momomuchu 於 113 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
callstack/react-native-paper#4951 ·
維護者通常 7 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 68/100
callstack/react-native-paper#4881 ·
維護者通常 7 天內回覆
查看 callstack/react-native-paper 的全部 Issue
相似的 Issue
-
bug hacktoberfest help wanted
難度 2/5 1-3 小時 新手友好度 82/100
libredb/libredb-studio#1941 ·
維護者通常 1 天內回覆
-
chore other
難度 2/5 1-3 小時 新手友好度 78/100
alastair-smith/card-games#308 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 86/100
paperclipai/paperclip#17379 ·
維護者通常 1 天內回覆
-
[good first issue, hacktoberfest] 🏯 Hacktoberfest Task - Add new Anime Quote 626 (good-first-issue)未關閉community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 76/100
lingdojo/kana-dojo#33040 · 1 則留言 · 5 個 reaction ·
維護者通常 1 天內回覆
-
bug mobile ui
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆