]> source.dussan.org Git - vaadin-framework.git/commit
Fixed touch scrolling issue in Surface and WP devices (#18737)
authorJohannes Tuikkala <johannes@vaadin.com>
Thu, 29 Sep 2016 08:03:29 +0000 (11:03 +0300)
committerVaadin Code Review <review@vaadin.com>
Tue, 8 Nov 2016 11:59:01 +0000 (11:59 +0000)
commiteb2f5ac3a714aefce948d447a4004b94e35e44a9
tree9ae8ece97f1b3544ecd7af97603b89bf4ad16cbf
parent41abc1b6e1d4c371a06a1f37976ed978e631f328
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
client/src/main/java/com/vaadin/client/BrowserInfo.java
client/src/main/java/com/vaadin/client/widgets/Escalator.java
themes/src/main/themes/VAADIN/themes/base/escalator/escalator.scss