Datetime picker inside left menu

Hello guys, in my app i have a left menu that it’s is working as a filter, my issue is when the user is trying to select a date, when clicking on “Done” the menu closes by itself and the datetime modal stays opened

I am using ionic 4.0.0-Beta.11