作者:changless | 来源:互联网 | 2023-09-09 15:31
Description
Datepicker is not opened when we call Datepicker.Focus() in UWP. I have tried to open the date picker dialog on a button click by calling Datepicket.Focust() method. Note: This is working as expected in Android and iOS.
Steps to Reproduce
- Run the attached sample.
- Click the button "Button"
Expected Behavior
Datepicker dialog should be opened.
Actual Behavior
Datepicker dialog is not opened
Basic Information
- Version with issue: 4.2.0.709249
- Last known good version:
- IDE: VS 2019
- Platform Target Frameworks:
- UWP: 177 63
- Android Support Library Version:
- Nuget Packages:
- Affected Devices: Desktop
DatePickerBlankApp.zip
该提问来源于开源项目:xamarin/Xamarin.Forms
I've opened a draft PR for review my approach to this issue, a review at your convenience
would be greatly appreciated.