From 15c4b00eee1b0aa19e13ffdc103de677be7c2d67 Mon Sep 17 00:00:00 2001 From: Matti Hosio Date: Fri, 30 Jan 2015 17:05:55 +0200 Subject: Fix for TextField focus problem with Valo in IE (#16491) When clicking the text field with text, the caret was always moved to the beginning. Related also to ticket #11152. Change-Id: I6dd8dcdc51892c2a4f51a9590d4ad435a8dbaba9 --- WebContent/VAADIN/themes/valo/components/_orderedlayout.scss | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'WebContent/VAADIN') diff --git a/WebContent/VAADIN/themes/valo/components/_orderedlayout.scss b/WebContent/VAADIN/themes/valo/components/_orderedlayout.scss index fb40763ade..8a7c877d69 100644 --- a/WebContent/VAADIN/themes/valo/components/_orderedlayout.scss +++ b/WebContent/VAADIN/themes/valo/components/_orderedlayout.scss @@ -43,6 +43,11 @@ .v-horizontal > .v-expand > .v-slot { height: 100%; } + + /* Workaround for IE8+IE9 bug where clicking inside an input area which is inside a div with negative margin causes cursor position to jump to wrong position. See #11152 */ + .v-horizontal > .v-expand > .v-slot { + position: relative; + } .v-vertical > .v-spacing, .v-vertical > .v-expand > .v-spacing { -- cgit v1.2.3