Page MenuHomePhabricator

The DateInputWidget does not close the date selector after a tab
Closed, ResolvedPublicBUG REPORT

Description

Steps to Reproduce:

  • Load a contributions page
  • Click into the data input field of the To date:
    • The calendar widget of the To date is shown. The focus is still on the input field of the To date.
  • Press Tab on keyboard.
    • The calendar widget of the To date gets focused.
  • Click into the data input field of the From date:
    • The calendar widget of the From date is shown.

Actual Results:

  • The calendar widget of the To date is still shown and overlays the calendar widget of the From date.

grafik.png (460×598 px, 38 KB)

Expected Results:

  • The calendar widget of the To date gets closed before showing the calendar widget of the From date.

Event Timeline

Change 499665 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/core@master] mw.widgets.DateInputWidget: Deactivate after blurring if focus was on calendar

https://gerrit.wikimedia.org/r/499665

Volker_E assigned this task to matmarex.
Volker_E triaged this task as Medium priority.
Volker_E removed a project: Patch-For-Review.

Change 499665 merged by jenkins-bot:
[mediawiki/core@master] mw.widgets.DateInputWidget: Deactivate after blurring if focus was on calendar

https://gerrit.wikimedia.org/r/499665