Options in <datalist> for input type="text" not highlighted when selected/hovered over in Thunderbird extension popup
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Tracking
(Not tracked)
People
(Reporter: jhh, Assigned: john)
Details
Attachments
(5 files)
Steps to reproduce:
Created a thunderbird extension with a text input field whose values could be selected from options specified by a <datalist>.
Actual results:
When pressing arrow down in the text input field, the options are shown but the currently selected one (or the one currently being hovered over) are not highlighted: no visual cue is given which is the currently selected option.
Expected results:
The currently selected or how red over option should be highlighted, like options in a <select>
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
I cannot confirm this on Windows with Thunderbird 115.8.0.
I attached two screenshots, one for an action popup and one for a popup window, and the selected entry changes when pressing up/down arrows keys.
What is your environment? Can you still reproduce this with 115.8.0?
I'm on MacOS and TB 115.8.0 and for me the bug still exist. Did you create the popup elements with a <datalist>?
| Assignee | ||
Comment 5•2 years ago
•
|
||
I was using your popup.html. That should be sufficient to reproduce the issue, right?
Can you state your exact version of MacOS?
| Assignee | ||
Comment 7•1 year ago
|
||
Reproducer add-on for review.
| Assignee | ||
Comment 8•1 year ago
|
||
MacOS seems to use the checked attribute instead of the selected attribute for
menu items. This patch extends the existing CSS rule to act on both. It also loads
the icons.css and colors.css into the extension popup.
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/00fed70cf1ff
Fix CSS for checked menuitem on MacOS. r=aleca,micahilbery
Description
•