diff options
author | Johannes Tuikkala <johannes@vaadin.com> | 2016-09-29 11:03:29 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-11-08 11:59:01 +0000 |
commit | eb2f5ac3a714aefce948d447a4004b94e35e44a9 (patch) | |
tree | 9ae8ece97f1b3544ecd7af97603b89bf4ad16cbf /themes | |
parent | 41abc1b6e1d4c371a06a1f37976ed978e631f328 (diff) | |
download | vaadin-framework-eb2f5ac3a714aefce948d447a4004b94e35e44a9.tar.gz vaadin-framework-eb2f5ac3a714aefce948d447a4004b94e35e44a9.zip |
Fixed touch scrolling issue in Surface and WP devices (#18737)
Fixed by using mouse events instead of touchevents when the browser is
IE or Edge (added isIEOrEdge utility method in the BrowserInfo). Also
added touch-action: none; css rules into escalator.css to prevent
default touch behaviour on IE and Edge
No new unit tests since we do not have automatic touch testing
possibilities yet.
Please test manually with Surface: IE and Edge, use for example uitest:
com.vaadin.tests.components.grid.basics.GridBasics
Change-Id: I5b37f1648e2051ea0ab4d56ab767186b532da07c
Diffstat (limited to 'themes')
-rw-r--r-- | themes/src/main/themes/VAADIN/themes/base/escalator/escalator.scss | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/base/escalator/escalator.scss b/themes/src/main/themes/VAADIN/themes/base/escalator/escalator.scss index 2d5ad729fc..15fda265ca 100644 --- a/themes/src/main/themes/VAADIN/themes/base/escalator/escalator.scss +++ b/themes/src/main/themes/VAADIN/themes/base/escalator/escalator.scss @@ -75,6 +75,9 @@ } .#{$primaryStyleName}-body { + -ms-touch-action: none; + touch-action: none; + z-index: 0; top: 0; |