From 637d0d01880ad73d3661fc07eead999d07c8cf44 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Sat, 11 Jul 2015 21:12:39 +0300 Subject: [PATCH] Restrict old IE fix to IE <= 10 (#17002) Change-Id: I84b7d654f1a62aad623055033ee0666ad950b805 --- client/src/com/vaadin/client/ui/VFilterSelect.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/com/vaadin/client/ui/VFilterSelect.java b/client/src/com/vaadin/client/ui/VFilterSelect.java index 22eef57901..d756c88f79 100644 --- a/client/src/com/vaadin/client/ui/VFilterSelect.java +++ b/client/src/com/vaadin/client/ui/VFilterSelect.java @@ -612,7 +612,8 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler, menuFirstChild.getStyle().setWidth(100, Unit.PCT); } - if (BrowserInfo.get().isIE()) { + if (BrowserInfo.get().isIE() + && BrowserInfo.get().getBrowserMajorVersion() < 11) { // Must take margin,border,padding manually into account for // menu element as we measure the element child and set width to // the element parent -- 2.39.5