Skip to content

RNDateTimePicker appears immediately after launching the application on Android and does not show buttons for selecting the date or time #980

Closed
@Kyzfome

Description

@Kyzfome

Question

On iOS it works fine but on Android it doesn't even show the buttons

CODE

View style={styles.section}>
{i18n.t('date')}:
<RNDateTimePicker
mode="date"
onChange={handleConfirmDate}
locale={i18n.locale}
value={new Date(eventItem.start_at)}
/>
<RNDateTimePicker
mode="time"
onChange={handleConfirmStartTime}
locale={i18n.locale}
value={new Date(eventItem.start_at)}
/>
<RNDateTimePicker
mode="time"
onChange={handleConfirmEndTime}
locale={i18n.locale}
value={new Date(eventItem.end_at)}
/>
</View

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions