Skip to content
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

DatePicker and TimePicker not working on iOS #2

Closed
yuv4ik opened this issue Oct 11, 2017 · 1 comment
Closed

DatePicker and TimePicker not working on iOS #2

yuv4ik opened this issue Oct 11, 2017 · 1 comment

Comments

@yuv4ik
Copy link
Contributor

yuv4ik commented Oct 11, 2017

Hello,

It seems like the DatePicker and TimePicker not working as expected on iOS 11.0 and 9.3.
By 'not working as expected' I mean that it's not showing the pickers and it seems like the focus trick is not working properly.

Check the GIF: https://giphy.com/gifs/xT9Igr4nDwTesDlw0U

Seems like the solution is quite simple:
Device.BeginInvokeOnMainThread(() =>
{
EntryField.Unfocus();
Picker.Focus();
});

Have to ensure focus related stuff execution on the Main thread.

I created a pull request.

@SuavePirate
Copy link
Owner

Thanks for finding this and resolving it yourself!

SuavePirate pushed a commit that referenced this issue Apr 19, 2018
Merging from the parent fork
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

2 participants