Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#15555 closed defect (fixed)

dijit/place: clipping code confused by position:absolute ancestors

Reported by: bill Owned by: bill
Priority: undecided Milestone: 1.7.4
Component: Dijit Version: 1.7.3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

The clipping code from #11971, to figure out the coordinates of the visible part of the aroundNode, has problems with position:absolute nodes (either the aroundNode or an ancestor of the aroundNode being position:absolute).

See attached test case plus the place-clip.html test case I will check in along with a fix.

Attachments (3)

placeClip.patch (11.2 KB) - added by bill 7 years ago.
patch file
clipping.html (1.9 KB) - added by bill 7 years ago.
Doug's test file (put in dijit/tests)
placeClip1.7.patch (10.3 KB) - added by bill 7 years ago.
patch against 1.7

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by bill

Description: modified (diff)
Milestone: tbd1.7.4
Status: newassigned

Changed 7 years ago by bill

Attachment: placeClip.patch added

patch file

Changed 7 years ago by bill

Attachment: clipping.html added

Doug's test file (put in dijit/tests)

Changed 7 years ago by bill

Attachment: placeClip1.7.patch added

patch against 1.7

comment:2 Changed 7 years ago by bill

Resolution: fixed
Status: assignedclosed

In [29044]:

Fix regression in dropdown placement when aroundNode or one of it's ancestors is position:absolute, and it's being displayed outside of an ancestor node with overflow:hidden/auto/scroll. Fixes #15555, refs #11971 on trunk, !strict.

comment:12 Changed 7 years ago by bill

In [29045]:

Fix regression in dropdown placement when aroundNode or one of it's ancestors is position:absolute, and it's being displayed outside of an ancestor node with overflow:hidden/auto/scroll. Fixes #15555, refs #11971 on 1.7/ branch, !strict.

Note: See TracTickets for help on using tickets.