Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Add a DatePicker named i.e. "dp" and a Button to a page.
On button Click event, do "dp.Focus()" in order to bring up the DatePicker.
Then the datepicker is shown, select "Cancel".
Now, try to click the same button again. The DatePicker will NOT be shown.
The reason for this is that the DatePicker (dp) is still focused (dp.IsFocused == true). So, doing "dp.Focus()" will not change it's focus and thus NOT bring the DatePicker up.
*** Bug 41522 has been marked as a duplicate of this bug. ***
Is there any work around?
I have a PR up for it right now (https://github.com/xamarin/Xamarin.Forms/pull/204/). The DatePickerDialog being cancelled isn't calling Unfocus on the Element which is why it can't be called again.
Seeems there is a problem with IOs 9
In this case, if you've found something which you believe may be a bug, please file a separate ticket with a reproduction as it would be of help.
I was only referring to the build report in your PR ;-)
Should be fixed in 2.3.1-pre1
I have checked Bug #41522 and its working fine with Xamarin.Forms 2.3.1-pre1 and Bug #41522 is duplicate bug of this bug.
Hence marked this bug as Verified.