Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#500 closed defect (fixed)

Tooltip incorrectly positioned within TabPane

Reported by: bmoelk@… Owned by: anonymous
Priority: high Milestone:
Component: Widgets Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description

Tooltips don't display in the correct position when they are included in a TabPane?. This is easy to see if one is included in a tabpane. I know next to nothing about the dojo code, but perhaps the following code in widget/html/Tooltip.js doesn't calculate the position correctly:

	onMouseMove: function(e) {
		this.mouseX = e.pageX || e.clientX + dojo.html.body().scrollLeft;
		this.mouseY = e.pageY || e.clientY + dojo.html.body().scrollTop;
		...

Change History (3)

comment:1 Changed 14 years ago by bill

Resolution: fixed
Status: newclosed

Seems to be working for me. I checked in a test in test_TabPane.html.

comment:2 Changed 14 years ago by bmoelk@…

Hi Bill. That's great if it's fixed, but I don't see the test of this condition in:

http://archive.dojotoolkit.org/nightly/tests/widget/test_TabPane.html

Shouldn't this test be on this page? Please advise.

comment:3 Changed 14 years ago by bill

Sorry; my description was too vague. Look at Tab3 of the first TabPane?.

Note: See TracTickets for help on using tickets.