Completed
Last Updated: 20 Apr 2023 20:41 by ADMIN
Release 4.0.0 (18 Jan 2023) (R1 2023)
Stewart
Created on: 05 Sep 2022 10:01
Category: DatePicker
Type: Bug Report
4
FocusAsync puts cursor at end of input

Hi

When you focus on the DatePicker input element the cursor is at the end of the input instead of the start. 

Here is an example 

https://blazorrepl.telerik.com/ccOtaTOZ59tdXv1J10

Any help would be appreciated

Regards

Stewart

3 comments
ADMIN
Nadezhda Tacheva
Posted on: 20 Apr 2023 20:41

Hi Vu,

In UI for Blazor 4.0.0 we introduced some updates on the date editing UX covering all date and time pickers. At this stage, manually focusing the input places the cursor in whatever segment the user clicks - this behavior will be further enhanced and the discussion regarding the exact implementation is currently ongoing.

The programmatic focus via the FocusAsync method, however, behaves differently. Upon invoking FocusAsync now, the whole input is selected and the cursor is placed at the start of the input.

You may test the behavior in this sample: https://blazorrepl.telerik.com/GHEewuGu38LDxSKy43.

Try clicking the button to programmatically focus the DatePicker and start typing - the first typed symbol appears in the leftmost segment. Can you please test on your end and let us know if you experience a different behavior?

Thank you in advance!

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Vu
Posted on: 10 Apr 2023 06:31
It wasn't fixed in the new Release 4.0.0
ADMIN
Nadezhda Tacheva
Posted on: 15 Sep 2022 11:25

Hi Stewart,

Thank you for your report! This behavior targets not only the usage of the FocusAsync method but also manually focusing the input. We treat it as a valid bug and I've updated the status of the item. I also added your vote to increase its popularity. We take the community demand into consideration when prioritizing the bug fixes. As creator of the post, you are automatically subscribed and will receive status email updates. Thus you can easily follow the progress of the fix.

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.