You found a bug! We've classified it as
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
Misaligned tooltips in charts with browser body scroll
Just came across this old issue, since my workaround is messy with GXT3.1.
Originally Posted by Colin Alworth
Here is an example to reproduce my issue:
GXT Explorer Demo is added to a ViewPort. Thats why there are no Scroll Bars from the browser itself. All scroll bars are made by GXTs ViewPort. Thats the reason why my issue with these misplaced ToolTips ist not reproducable in Explorer Demo.
Lets get rid of ViewPort. In ExplorerApp.java replace
Viewport vp = new Viewport();
Run Demo. Open "Themed Chart" of Explorer Demo and reduze size of your Browser. Scroll to the chart via browsers scroll bars. Mouse over Data point of January.
SimpleContainer vp = new SimpleContainer();
Expected: ToolTip appears near Mouse cursor
Actual result: ToolTip appears wide right and too low.
It seems like the scrolling of the browser is not considered for placing ToolTip. See screenshot.
Gotcha, thanks, this is a new issue. The previous one was a bug in the charts themselves, this issue is either specific to the tooltips, or just to the tooltip/chart code.
I've moved your comment to a new thread to address it in its own right.