Procházet zdrojové kódy

Suggestion popop positioned over the input if it can't fit below. Fixes #1703

svn changeset:4650/svn branch:trunk
tags/6.7.0.beta1
Marc Englund před 16 roky
rodič
revize
8a2f5b22e5

+ 2
- 2
src/com/itmill/toolkit/terminal/gwt/client/ui/IFilterSelect.java Zobrazit soubor

@@ -296,8 +296,8 @@ public class IFilterSelect extends Composite implements Paintable, Field,

if (offsetHeight + getPopupTop() > Window.getClientHeight()
+ Window.getScrollTop()) {
top = Window.getClientHeight() + Window.getScrollTop()
- offsetHeight - EXTRASPACE
// popup on top of input instead
top = getPopupTop() - offsetHeight
- IFilterSelect.this.getOffsetHeight();
if (top < 0) {
top = 0;

Načítá se…
Zrušit
Uložit