Ion-datetime as an alert instead of ActionSheet



Is there any way to display ion-datetime to display as an alert instead of action sheet?

Thank you


Anyone have a suggestion how to implement this? My user is adamant that they don’t want to go to the bottom of the screen to select a date and time. I guess I could use the native datepicker but then I have to rewrite all the date fields plus it doesn’t work in the browser which makes it that much harder to test


Anyone else that wants this please comment on


It’s not the prettiest, but to solve this, I changed the following CSS:

@media screen and (min-width: 1025px) {

  .picker-wrapper {
    bottom: 70%;


That way it looks normal on tablets and smaller, but moves it to the center for browsers (which are typically wider).