Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Kyzfome opened this issue May 30, 2025 · 0 comments

Comments

@Kyzfome
Copy link

Kyzfome commented May 30, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant