mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-24 18:56:24 +00:00
Fixed computation of position of auto-completion list.
Monotone-Parent: a15cd58d41cfa4e9d3ac44ddaa4fd3b9f1b5a5f4 Monotone-Revision: 1a92d62c7bce360bb60b9ff6a4b682d804803349 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-04-01T20:24:29 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -193,8 +193,8 @@ var SOGoAutoCompletionInterface = {
|
||||
// Show popup menu
|
||||
var offsetScroll = Element.cumulativeScrollOffset(input);
|
||||
var offset = Element.positionedOffset(input);
|
||||
if (Element.up(input).tagName == 'TD')
|
||||
// Special case for UIxListEditor
|
||||
if (offset.top < 50)
|
||||
// Hack for some situations where the offset must be computed differently
|
||||
offset = Element.cumulativeOffset(input);
|
||||
var top = offset.top - offsetScroll.top + node.offsetHeight + 3;
|
||||
var height = 'auto';
|
||||
|
||||
Reference in New Issue
Block a user