jquery-ui icon indicating copy to clipboard operation
jquery-ui copied to clipboard

Datepicker showButtonPanel - `Today` button is not clickable

Open gogromat opened this issue 2 years ago • 2 comments

Issue is visible even on examples page - Today button is not clickable and does not set datepicker to current date (the one displayed by showButtonPanel showButtonPanel in api).

gogromat avatar Oct 17 '23 19:10 gogromat

Looking at it again:

  • calendar does switch to current month if you had other month selected
  • no selection is made (if other date was selected, it stays selected)
  • Today button does look disabled Not sure how desirable this behavior is.

gogromat avatar Oct 18 '23 18:10 gogromat

Thanks for the report. It does look disabled, indeed, but it are probably just unfortunate secondary button styles from what I see.

Since the issue is already in 1.12, given limited team resources it's not likely to be fixed by the UI team; see the project status at https://blog.jqueryui.com/2021/10/jquery-maintainers-update-and-transition-jquery-ui-as-part-of-overall-modernization-efforts/. PRs are welcome if they're not too complex.

CSS fixes are hard, though, as you may often miss another use case so it may not be worth changing at this point.

mgol avatar Oct 19 '23 15:10 mgol