Opened 10 years ago

Closed 10 years ago

#16148 closed defect (fixed)

Incorrect placement of popup when certain Google Chrome plugins are present

Reported by: sprabhal Owned by: bill
Priority: undecided Milestone: 1.9
Component: Dijit Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:

Change History (4)

comment:1 Changed 10 years ago by bill

That plugin is adding a

position: relative; top: 0px; margin-top: 40px

to <body>, to push it below the toolbar, and the popup code (or perhaps just the code to get the position of an element) isn't adjusting for that.

Last edited 10 years ago by bill (previous) (diff)

comment:2 Changed 10 years ago by bill

More specifically, the bottom of the anchor node is (for example) 100px from the top of the viewport, so dijit/place sets popup.style.top = 100px, but that puts the popup 140px from the top of the viewport due to the 40px bump from <body>'s style.

Last edited 10 years ago by bill (previous) (diff)

comment:3 Changed 10 years ago by bill

Milestone: tbd1.9
Status: newassigned

comment:4 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

In [29864]:

Fix positioning of popups when there's a margin on <body>, fixes #16148 !strict

Note: See TracTickets for help on using tickets.