Opened 12 years ago

Closed 9 years ago

#4995 closed defect (invalid)

Tooltip: focusing an offscreen widget with a tooltip results in an offset tooltip

Reported by: guest Owned by: bill
Priority: low Milestone: 1.6
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

If you programatically focus a widget (I was using ValidationTextbox?) that has a tooltip and the focus results in scrolling of the window the tooltip will display in the wrong spot. The tooltip will be offset by how far the page scrolled.

The tooltip location calculation should occur after the page is scrolled, or rather the tooltip should be located relative to the widget itself and not the page coordinates. (I'm not really sure how this calculation is currently done)

Change History (5)

comment:1 Changed 12 years ago by bill

Component: GeneralDijit
Milestone: 2.0
Owner: changed from anonymous to bill

comment:2 Changed 12 years ago by alex

Milestone: 2.01.3

Milestone 2.0 deleted

comment:3 Changed 11 years ago by bill

Description: modified (diff)
Milestone: 1.31.5
Summary: Focusing an offscreen widget with a tooltip results in an offset tooltipTooltip: focusing an offscreen widget with a tooltip results in an offset tooltip

I'm not sure what's going on; all calculations are done relative to the document, not the viewport. Is it really the browser window that is being scrolled, or rather some <div> on the page?

comment:4 Changed 9 years ago by Adam Peller

Milestone: 1.51.6

comment:5 Changed 9 years ago by bill

Resolution: invalid
Status: newclosed

Closing for lack of test case (or response to question from 2 years ago).

Note: See TracTickets for help on using tickets.