Closed Bug 2011427 Opened 9 months ago Closed 5 months ago

Focus border missing/hidden for time-picker

Categories

(Core :: Layout: Form Controls, defect, P3)

Firefox 144
defect

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: dave, Assigned: sam, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 external file)

The focus border does not fit in the time picker on:

  • <input type="time"> for hours
  • <input type="datetime-local"> for AM/PM
    This is behind a flag dom.forms.datetime.timepicker

Related Bugs

The severity field is not set for this bug.
:emilio, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

This is probably a blocker for enabling it, but should be easy to fix... Seems we should just add some padding to the dialog (and remove the outer padding perhaps?).

Actually there are only a couple blockers for enabling the time picker (this one and bug 1990226), and I already got the UX approval otherwise.

Anna you worked on the date picker etc, do you happen to have some spare cycles to look at this? No problems if not, it's just worth a shot :)

Severity: -- → S3
Flags: needinfo?(emilio) → needinfo?(ayeddi)
Priority: -- → P3

I'm also seeing this focus indicator issue (Firefox Stable, adv. pref dom.forms.datetime.timepicker = true). It started after a Firefox update around 5 months ago. The same update also broke numeric keyboard input for time input fields when the picker is open (number keys do nothing when the picker is open, whereas up until 5 months ago they would populate the input field). These timepicker focus problems seem closely related, especially because they came together.

Applies the outline padding to the container rather than just the date picker so that the time picker outlines don't get clipped. Also corrected the panel sizes to be more precise.

Assignee: nobody → sam
Status: NEW → ASSIGNED
Pushed by sam@scj.me: https://github.com/mozilla-firefox/firefox/commit/1d9c0ebd3676 https://hg.mozilla.org/integration/autoland/rev/b840c55a1bb7 Fix focus outlines for date/time pickers. r=desktop-theme-reviewers,mkennedy,emilio
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: