Closed
Bug 1257653
Opened 10 years ago
Closed 8 years ago
oninput event fires when focusing on non-empty text input
Categories
(Firefox for Android Graveyard :: Keyboards and IME, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: jhonvolkd, Unassigned, NeedInfo)
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36
Steps to reproduce:
The behavior can be observed at this jsfiddle
https://jsfiddle.net/jhonvolkd/nm8p5cmr/1/
Add an oninput event to a text input using either
element.oninput = functionToExecute
or
element.addEventListener('input', functionToExecute)
When the input is first selected while empty, oninput does not fire, as is the expected behavior.
Then, enter some text into the input.
Actual results:
After the input has a value, onfocus and onblur both also trigger oninput. This causes an unexpected call to oninput.
Expected results:
oninput should only fire when the value of the input changes. This event works correctly on Windows Firefox and Chrome for Android.
Comment 2•8 years ago
|
||
Due to the lack of additional info, I'll close this issue as Incomplete. If someone can provide more information regarding this issue, please feel free to reopen it, thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•