Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 468203

Summary: [Hover] Long JSDoc hovers from Tern can get placed on top of anchor area text in editor
Product: [ECD] Orion Reporter: Curtis Windatt <curtis.windatt.public>
Component: ClientAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: emoffatt, Michael_Rennie
Version: 8.0   
Target Milestone: 9.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Curtis Windatt CLA 2015-05-25 13:02:27 EDT
If a large hover does not have space below the anchor text (function call, annotation, etc), we attempt to place the hover above the anchor instead.
If you have a function call with a lot of JSDoc (must be > 400px tall) when we place the hover it can be covering the anchor text.

It appears there is a mismatch between the tooltipDiv height used to calculate the position and its final size.

In the cases I am testing, the height is limited to half the editor (See Bug 467752), so that change could be related.