Closed Bug 628616 Opened 9 years ago Closed 9 years ago
Make sure suggestions from <datalist> are shown in Firefox Mobile UI
With <datalist> and the list attribute on the input element, authors can provide suggestions to the user. On Firefox Desktop, they are shown like autocomplete suggestions. It would be nice to have them shown in Firefox Mobile given that authors should check if list and datalist are available and might assume that it will work on Firefox Mobile.
Is it going to break Fennec? :D
It should not ;)
tracking-fennec: --- → ?
I don't think this should be considered as an enhancement: feature detection will return a false positive on Firefox Mobile if it's not implemented.
But it is implemented in Firefox Mobile, isn't it? There's just no UI for it, atm.
(In reply to comment #5) > But it is implemented in Firefox Mobile, isn't it? There's just no UI for it, > atm. It's implemented in Gecko and Firefox has an UI for it, not Firefox Mobile. That means you can't use the feature in Firefox Mobile.
I'm actually reworking the autocompletion UI for Firefox Mobile, I will have a look to see if I can fix that in the process
If we can't implement a UI for <datalist>, we should show the content of the <datalist> element (as if it was not implemented). I've recently fixed a similar bug in WebKit : https://bugs.webkit.org/show_bug.cgi?id=52214 and I'd be sad if Firefox made the same mistake :(
The patch add support for the suggestions thought the new autocomplete mechanism. For the moment the suggestions have the same exact look as normal autocomplete results (probably need Madhava's for that)
Assignee: nobody → 21
Attachment #516311 - Flags: review?(mark.finkle)
This patch won't make it for Fennec 4. Please file another bug to do any type of work to disable datalist support from the platform for Fennec 4.0
I have filled bug 638833 for moving to display: inline from display: none; for the moment.
9 years ago
Depends on: 638833
any screenshots I can see?
And the patch updated on trunk
Comment on attachment 523052 [details] [diff] [review] Patch Needs tests!
Attachment #523052 - Flags: review?(mark.finkle) → review+
Attachment #523186 - Flags: review?(mark.finkle)
Attachment #523186 - Flags: review?(mark.finkle) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Verified on build: Mozilla /5.0 (Android;Linux armv7l;rv:5.0a2) Gecko/20110414 Firefox/5.0a2 Fennec/5.0a2 Device: LG Optimus 2X (Android 2.2) The suggestion pop-up flickers when taping in the text field or when you dismiss the keyboard, can you see this too?
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.