summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2020-04-24 13:36:58 +0300
committerGitHub <noreply@github.com>2020-04-24 13:36:58 +0300
commit640286088e4469a844253c6516e393d59c5ee3c6 (patch)
tree3c6c166b9ef64f509777c4096bd8847b5719e5a8 /client
parent5fe04f3600e3c9020533caaf6e7873856475eb04 (diff)
downloadvaadin-framework-640286088e4469a844253c6516e393d59c5ee3c6.tar.gz
vaadin-framework-640286088e4469a844253c6516e393d59c5ee3c6.zip
Fix incorrect position of column selector in MPR (#11953) (#11968)
* Fix incorrect position of column selector in MPR (#11953) Cherry pick from https://github.com/vaadin/framework/pull/11946
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VContextMenu.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/VContextMenu.java b/client/src/main/java/com/vaadin/client/ui/VContextMenu.java
index a27b93fa40..9ed3fccfe0 100644
--- a/client/src/main/java/com/vaadin/client/ui/VContextMenu.java
+++ b/client/src/main/java/com/vaadin/client/ui/VContextMenu.java
@@ -21,6 +21,7 @@ import java.util.Locale;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.NodeList;
+import com.google.gwt.dom.client.Style;
import com.google.gwt.dom.client.TableRowElement;
import com.google.gwt.dom.client.TableSectionElement;
import com.google.gwt.event.dom.client.BlurEvent;
@@ -155,6 +156,7 @@ public class VContextMenu extends VOverlay implements SubPartAware {
setHeight(Window.getClientHeight() + "px");
}
setPopupPosition(menuLeft, menuTop);
+ getElement().getStyle().setPosition(Style.Position.FIXED);
/*
* Move keyboard focus to menu, deferring the focus setting so the