Closed
Bug 1404871
Opened 7 years ago
Closed 4 years ago
Popup cut-off if put into overflow menu
Categories
(WebExtensions :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1448276
People
(Reporter: heftig, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
When the popup for my extension is put into the overflow menu, the bottom of the page is cut off, replaced by white space.
The code for the popup is dead-simple, no dynamic layout and barely any CSS:
https://github.com/heftig/sort-bookmarks/tree/master/popup
The <browser> for the popup is the correct size (height: 315px) and removing the "max-height: 315px" from the enclosing <panelview> restores the bottom of the popup. Since the panelview also encloses the panel-header, it seems the header was forgotten when calculating the max-height.
AMO: https://addons.mozilla.org/en-US/firefox/addon/sort-bookmarks-webext/
The extension can also be loaded immediately from git, no build step necessary.
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Flags: needinfo?(amckay)
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(amckay)
Resolution: --- → DUPLICATE
Reporter | ||
Comment 4•7 years ago
|
||
That doesn't seem to be right; Bug 1373490 is about the popup size being not completely controllable, but this bug is about the bottom being cut off even in a popup that should fit.
Reporter | ||
Comment 5•7 years ago
|
||
To be clear, since 1373490 mentions that the width limitation is by design, I believe that a fix for that bug would necessarily be different (even if it's just the addition of scrollbars) to a fix for the height calculation in this bug.
The problem here is not a limitation of the size of the overflow menu. In fact, I can still increase the height of the popup, but a section at the bottom (empty or not) is always cut off.
Reporter | ||
Comment 6•7 years ago
|
||
In the attached extension's popup, the "foo" paragraph is visible in the overflow menu, but the "bar" paragraph is cut off.
Updated•7 years ago
|
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---
Comment 7•7 years ago
|
||
Seems this is not an extension-specific problem, and even cuts off even the simplest popup html.
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Priority: -- → P3
Updated•7 years ago
|
Product: Toolkit → WebExtensions
Comment 8•7 years ago
|
||
Bulk move of bugs per https://bugzilla.mozilla.org/show_bug.cgi?id=1483958
status-firefox57:
wontfix → ---
Component: Untriaged → General
Updated•4 years ago
|
Status: REOPENED → RESOLVED
Closed: 7 years ago → 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•