Closed Bug 1379571 Opened 8 years ago Closed 7 years ago

Firefox for Android <input type=date> can't dispatch `input` event

Categories

(Core :: DOM: Events, defect, P3)

56 Branch
Unspecified
Android
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: 709922234, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20170709100223 Steps to reproduce: 1. open https://codepen.io/mantou132/pen/Zymzdy 2. modify date or time Actual results: No pop Alert Expected results: pop Alert
Blocks: datetime
OS: Unspecified → Android
Component: Untriaged → DOM: Events
Product: Firefox → Core
Hi, Firefox on Android uses Android's native calendar picker, so it's different from the work in 888320, which is mainly for Desktop. However, I did some trick to test Android's behavior on Desktop, and it seems that input and change events do fire as expected when typing in the text box. Your step "2. modify date or time", are you using the the keyboard or are you using the native picker to select the date/time?
Flags: needinfo?(709922234)
working fine on latest Nightly from me. (device: Pixel XL)
No longer blocks: datetime
Flags: needinfo?(709922234)
(In reply to Jessica Jong [:jessica] from comment #1) > Hi, Firefox on Android uses Android's native calendar picker, so it's > different from the work in 888320, which is mainly for Desktop. > However, I did some trick to test Android's behavior on Desktop, and it > seems that input and change events do fire as expected when typing in the > text box. Your step "2. modify date or time", are you using the the keyboard > or are you using the native picker to select the date/time? i use native picker. my device: Sony Xperia x5c, Android 7.1.1
Priority: -- → P3

Firefox 66 and geckoview_example work this well. If reporter still reproduce this, please reopen this.

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.