This is a migrated thread and some comments may be shown as answers.

DatePicker highlight in Firefox

2 Answers 143 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Veronika
Top achievements
Rank 1
Veronika asked on 26 May 2020, 06:02 AM

Hi, I came across a following problem with DatePicker in Firefox:

I want to highlight the date inside the DatePicker to delete it, but as soon as I let the mouse button go, only the first part of the date stays highlighted and I have to delete the date in three steps - day, month and year. In Google Chrome it works just fine - the whole date stays highlighted and therefore can be deleted at once.

Is there anything I'm missing? 

Thanks, Veronika

2 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 27 May 2020, 02:34 PM

Hello Veronika,

This seems to be caused by a bug in FireFox. The DateInput tries to select the nearest segment when you click in it. Τhe click event, however, is wrongly emitted when you select a range and then release the mouse button outside of the boundaries of the input. As per the spec, this should not happen - no click event should be emitted. Thus, we see this difference in behavior. Here's an example with a plain input.

However, reviewing this, I have to admit that the selection mechanism of segments is not very intuitive at times. There's actually a logged issue on the topic from a while ago. We'll look to give this higher priority and revise the selection mechanism if possible. At first sight it looks illogical to completely move the user selection when there is one, regardless of whether there's a click or not.

Just subscribe to the issue, if you want to get notified when we've enhanced this behavior.

Let me know if I could provide further information on the topic.

Regards,
Dimitar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Veronika
Top achievements
Rank 1
answered on 29 May 2020, 06:13 AM

Hello Dimitar,

 

thank you for your reply and given links. I will subscribe to the issues and I hope to hear from you soon :)

Veronika

Tags
DatePicker
Asked by
Veronika
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Veronika
Top achievements
Rank 1
Share this question
or