kendo-ui-core icon indicating copy to clipboard operation
kendo-ui-core copied to clipboard

Datepicker does not focus input on mobile screens correctly

Open kendo-bot opened this issue 3 years ago • 1 comments

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.

image

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]

kendo-bot avatar Jan 10 '22 15:01 kendo-bot