kendo-ui-core
kendo-ui-core copied to clipboard
Datepicker does not focus input on mobile screens correctly
Bug Report
First reported in ticket 1548656.
Reproduction of the problem
Open the following demo and use Chrome's devtools to simulate a mobile device:
https://demos.telerik.com/kendo-ui/validator/custom-validation
Click in and out of the Hire Date input. The validation message will appear. Click on the calendar icon and select a date. Try clicking outside. The validation message doesn't go away, because the input hasn't been focused.
Do the same thing in the desktop version to observe the correct behavior.

Current behavior
The DatePicker input element isn't focused when the calendar icon is tapped on a mobile device.
Expected/desired behavior
The DatePicker input element should become focused when the calendar icon is tapped on a mobile device.
Environment
Kendo UI version: 2021.3.1207 Browser: [all]