-
-
Notifications
You must be signed in to change notification settings - Fork 446
Open
Description
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: Colour.buttonBackground,
color: Colour.inversedText,
},
Metadata
Metadata
Assignees
Labels
No labels