Opened 11 years ago

Closed 11 years ago

#13127 closed defect (fixed)

dijit.showTooltip badly place the tooltip when called with a large rectangle as the "aroundNode" argument.

Reported by: Patrick Ruzand Owned by:
Priority: high Milestone: 1.7
Component: Dijit Version:
Keywords: Cc: [email protected]
Blocked By: Blocking:


The dijit.showTooltip function creates a wrong tooltip when called with a rectangle larger than the tooltip size as the "aroundNode" argument. To reproduce, put the attached sample in the dijit/tests directory, launch the page, and click the "Show Tooltip" button. Result in Dojo 1.7: the tooltip's main box is placed near the middle of the right side of the grey box, but its tip is displayed at the top-right, far from the main tooltip box. In Dojo 1.6, the whole tooltip is displayed at the bottom-right of the box.

Attachments (1)

test_Tooltip2.html (1.3 KB) - added by Patrick Ruzand 11 years ago.
testcase. works in 1.6. KO in 1.7

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by Patrick Ruzand

Attachment: test_Tooltip2.html added

testcase. works in 1.6. KO in 1.7

comment:1 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [25288]) Fixes #13127. dijit.Rectangle height and width has been deprecated in favor of h and w. Added a deprecated message and duplicated properties to rectangle object parameter.

Note: See TracTickets for help on using tickets.