NEW 250739
clicking the blank area in the date input can't trigger focusin event
https://bugs.webkit.org/show_bug.cgi?id=250739
Summary clicking the blank area in the date input can't trigger focusin event
2471314
Reported 2023-01-17 16:59:21 PST
Created attachment 464530 [details] the focus event log Here is a demo: https://codesandbox.io/s/date-input-rd1p57 Observe the console log. Clicking the date/month/year fields can trigger focus/focusin events. But Clicking the blank area only triggers focus event, can't trigger focusin event.
Attachments
the focus event log (2.46 MB, video/mp4)
2023-01-17 16:59 PST, 2471314
no flags
debug trace (1.27 MB, image/png)
2023-01-19 23:50 PST, 2471314
no flags
2471314
Comment 1 2023-01-19 23:50:56 PST
Created attachment 464572 [details] debug trace After this line: m_focusedElement->dispatchFocusEvent(oldFocusedElement.copyRef(), options); m_focusedElement is changed to DateTimeMonthFieldElement
Radar WebKit Bug Importer
Comment 2 2023-01-24 17:00:22 PST
Note You need to log in before you can comment on or make changes to this bug.