Open Bug 1884731 Opened 2 years ago Updated 2 months ago

Color picker closes the extension's action popup

Categories

(WebExtensions :: Frontend, enhancement, P3)

Firefox 123
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: clessili, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0

Steps to reproduce:

-Install an extension that uses browser_action.default_popup (it has a popup menu that can be accessed from the Extension button).
This menu is an HTML page with a color picker (<input type="color">).
-try clicking on the color picker

Actual results:

the extension popup closes as the color dialog opens, preventing the user from selecting a color.

Expected results:

the popup menu should stay open when the user opens a color picker.

The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Product: Firefox → WebExtensions

It looks like the UI opened by the type="color" input is a separate window which is triggering the browserAction popup to be auto hidden, which is quite unfortunate but not a recent regression (e.g. the same happens with a file input).

Severity: -- → N/A
Component: Untriaged → Frontend
Priority: -- → P3
See Also: → 2026687
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: