Closed
Bug 1703494
Opened 3 years ago
Closed 3 years ago
Remove sync layout flush for hamburger menu opening with proton
Categories
(Firefox :: Toolbars and Customization, defect, P2)
Tracking
()
RESOLVED
FIXED
90 Branch
People
(Reporter: Gijs, Assigned: mconley)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-hamburger-menu] [priority:2a])
Attachments
(2 files)
25.37 KB,
image/png
|
Details | |
Bug 1703494 - Use CSS box for FxA CTA item to avoid need for descriptionHeightWorkaround. r?emalysz!
48 bytes,
text/x-phabricator-request
|
Details | Review |
As discussed in bug 1703405, this is a result of the sync item now potentially wrapping and the descriptionHeightWorkaround
code running for it. Some options we could investigate to fix it:
- if we know the width available for the text beforehand (which I think we do, because the width of the panel is fixed?), ensure it is set directly on the element to ensure the XUL code for the preferred height of the element gets it right first time.
- switch the element in question to an HTML equivalent that wraps (possibly combined with (1)) and ensure we don't hit it in the descriptionHeightWorkAround code.
- switch everything in the main view to non-XUL flexbox and see if that helps.
Updated•3 years ago
|
See Also: → https://jira.mozilla.com/browse/FIDEFE-1051
Updated•3 years ago
|
Priority: -- → P2
Whiteboard: [proton-hamburger-menu] → [proton-hamburger-menu] [priority:2a]
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → mconley
Assignee | ||
Comment 1•3 years ago
|
||
Interestingly, it doesn't even appear that we apply wrapping correctly in the FxA item, even with the descriptionHeightWorkaround. Looks like we truncate the string instead. See screenshot.
Updated•3 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•3 years ago
|
||
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dccfbc75e6ac Use CSS box for FxA CTA item to avoid need for descriptionHeightWorkaround. r=emalysz
Comment 4•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox90:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•