DatePicker highlight in Firefox

3 posts, 0 answers
  1. Veronika
    Veronika avatar
    3 posts
    Member since:
    Feb 2018

    Posted 26 May Link to this post

    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. Missing user
    Missing user avatar

    Posted 27 May Link to this post

    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.
  3. Veronika
    Veronika avatar
    3 posts
    Member since:
    Feb 2018

    Posted 29 May Link to this post

    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

Back to Top