Closed Bug 1561000 Opened 5 years ago Closed 5 years ago

LinkMenu opening to right with fluent linkmenu strings

Categories

(Firefox :: New Tab Page, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 69
Iteration:
69.4 - Jun 24 - Jul 7
Tracking Status
firefox69 --- verified

People

(Reporter: pdahiya, Assigned: pdahiya)

References

(Blocks 1 open bug)

Details

(Keywords: github-merged)

Attachments

(2 files)

Steps to replicate

  1. Reduce window size till horizontal scroll appears
  2. Click on context menu button

Expected Result
Link Menu should open to left

Actual result

  1. Link menu open to right and container element has missing last-item class
Attached image linkmenu-open-right.png
Assignee: nobody → pdahiya

The scrollMaxX approach is not ideal as it probably forces a synchronous reflow. We could probably check the position of the context menu button itself after it renders and perhaps from a requestAnimationFrame so that when the context menu is rendered, it'll set the class correctly as it renders.

On the other hand, opening a context menu is probably not a performance bottleneck to optimize too much for.

Iteration: --- → 69.4 - Jun 24 - Jul 7
Priority: -- → P1
Iteration: 69.4 - Jun 24 - Jul 7 → ---
Blocks: 1485002
Iteration: --- → 69.4 - Jun 24 - Jul 7
Blocks: 1561811
Keywords: github-merged
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69
Component: Activity Streams: Newtab → New Tab Page

I have verified that this issue is no longer reproducible with the latest Firefox Nightly (69.0a1 Build ID - 20190630214222) installed, on Windows 10 x64, Arch Linux and Mac 10.14.5. Now the context menu is opened to the left.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: