Skip to content

[6.x] Make the date range picker the same button#14732

Open
jaygeorge wants to merge 2 commits into
6.xfrom
make-date-pickers-consistent
Open

[6.x] Make the date range picker the same button#14732
jaygeorge wants to merge 2 commits into
6.xfrom
make-date-pickers-consistent

Conversation

@jaygeorge
Copy link
Copy Markdown
Contributor

Description of the Problem

Tiny thing, but the date range picker button is slightly different from the date picker button.
This is noticeable when escaping the date field

Escaping the date field

(desirable focus experience) – see the sidebar date field calendar icon, which just receives a gray background

2026-05-26 at 17 47 25@2x

Escaping the date range field

(undesirable focus experience) – see the sidebar date field calendar icon, which receives a wonky blue ring

2026-05-26 at 17 49 25@2x

What this PR Does

Fixes the date range calendar icon to use the same styling as the date field calendar icon, like this

(wonky blue focus line no longer visible)

2026-05-26 at 17 53 54@2x

How to Reproduce

  1. Add a date range field type
  2. Click the picker calendar icon
  3. Press escape without picking anything
  4. Observe the wonky focus ring

jaygeorge added 2 commits May 26, 2026 17:44
…Trigger, which gave it a different focus ring/background than the date picker. It now matches the DatePicker for consistency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant