Closed
Bug 1078684
Opened 10 years ago
Closed 6 years ago
Keyboard should not autocorrect on Enter key
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: janjongboom, Unassigned)
Details
I believe that the content you see should always gets submitted on Enter key. At the moment we autocorrect and then submit. That's very strange behavior. E.g.: Hello worlENTER Hello world gets submitted (FYI saw this on 2.0, and the Enter key gets prevent defaulted, will verify on master). ni? omega for UX feedback
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(ofeng)
Comment 1•10 years ago
|
||
I check the search input of Yahoo!TW mobile site https://tw.mobi.yahoo.com/ and found that stock Android doesn't autocorrect but FxOS does. I guess that's because our keyboard doesn't respect autocomplete/autocorrect attributes. We can fix that issue first.
Flags: needinfo?(ofeng)
Reporter | ||
Comment 2•10 years ago
|
||
Sorry, but how is that relevant? We use 'x-inputmode="verbatim"' to disable autocorrect features by the way. See the discussion in bug 943690.
Flags: needinfo?(ofeng)
Comment 3•10 years ago
|
||
Got it. I think there are some issues here: 1) Should keyboard autocorrect on Enter key? IMO the answer is yes. Android and iOS do the same thing. 2) Should we implement autocorrect attribute for inputs? The discussion is in bug 943690 like you mentioned. I don't have much thought on that. 3) If pressing Enter will submit a form, should it autocorrect the word and then submit? If possible, it's good to submit it without autocorrection at that moment. Do you have any idea how we can do that?
Flags: needinfo?(ofeng) → needinfo?(janjongboom)
Reporter | ||
Comment 4•10 years ago
|
||
About 3. I don't know. I think if the Enter keypress gets preventDefault'ed we should not autocorrect, that helps a little, but I don't know if we have form submit information on Gecko side.
Flags: needinfo?(janjongboom) → needinfo?(xyuan)
Comment 5•10 years ago
|
||
Don't know if we can get the submit information of an input field. cc Fabrice in case he knows.
Flags: needinfo?(xyuan) → needinfo?(fabrice)
Comment 6•10 years ago
|
||
(In reply to Yuan Xulei [:yxl] from comment #5) > Don't know if we can get the submit information of an input field. > cc Fabrice in case he knows. I don't know, sorry. Maybe Olli?
Flags: needinfo?(fabrice) → needinfo?(bugs)
Comment 7•10 years ago
|
||
Could you listen for submit event and that would cancel autocorrection (I assume autocorrection happens asynchronously)?
> Don't know if we can get the submit information of an input field.
What does that mean? What information?
Flags: needinfo?(bugs)
Comment 8•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•