iOS has wrapper around the picker when setting background colour
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- ios, javascript, react-native
調査の方向性
Start by reading the iOS implementation of the compact DateTimePicker and the package’s styling documentation; the issue gives no source file or failing test to start from. Reproduce the reported background color with the provided component props and compare how the picker renders for different date lengths. Done means the picker background appears consistent without light side areas across those date lengths.
索引モデルが issue の本文から書いたものです。
説明
When adding a background colour to the DateTimePicker, it is almost as if the picker itself is a separate element. I would have expected the DateTimePicker's background to be the same colour throughout, not have light parts on the sides that make it seem like there's a wrapper view around it. This also differs on the length of the input date. Any ideas on how to fix? See screenshots and code below
<DateTimePicker
style={SharedStyles.datePicker}
display={Platform.OS === 'android' ? 'calendar' : 'compact'}
textColor='#002A32'
accentColor='#002A32'
themeVariant="light"
testID="dateTimePicker"
value={date}
mode={'date'}
maximumDate={currentDate}
onChange={setPickedDate}
/>
// Style
datePicker: {
borderRadius: 10,
backgroundColor: '#FFCF70',
color: '#002A32',
},
// In package.json
"@react-native-community/datetimepicker": "^8.4.1",
- 主要言語
- JavaScript
- スター
- 2.9k
- フォーク
- 459
- 平均マージ
- 4日 16時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
react-native-datetimepicker/datetimepicker のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
react-native-datetimepicker/datetimepicker#1070 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
react-native-datetimepicker/datetimepicker#1047 · コメント 6 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
react-native-datetimepicker/datetimepicker#1046 · コメント 1 件 ·
react-native-datetimepicker/datetimepicker の issue をすべて見る
似ている issue
-
🐛 bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
LibreChat-AI/LibreChat#17887 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
liveshowy/webauthn_components#118 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
showdownjs/showdown#1113 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
dependents/node-precinct#167 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
volumio/volumio-plugins-sources-bookworm#279 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信