]> source.dussan.org Git - vaadin-framework.git/commit
Fixed touch scrolling issue in Surface and WP devices (#18737) 7.7.5
authorJohannes Tuikkala <johannes@vaadin.com>
Mon, 14 Nov 2016 07:46:32 +0000 (09:46 +0200)
committerVaadin Code Review <review@vaadin.com>
Tue, 22 Nov 2016 09:07:44 +0000 (09:07 +0000)
commit92b5c38476286a5998730d80da1598132ee29361
treebdda9766646dcf5cbb0377eb009ac68b623d6d70
parent3145ab0ce717da5997eb73a742c30e42db687792
Fixed touch scrolling issue in Surface and WP devices (#18737)

Fixed by using pointerevents instead of touchevents when the browser is IE11,
or Edge. Also added touch-action: none; css rules into escalator.css to prevent
default touch behaviour on IE11 and Edge. Does not affect IE8 to IE10 browsers,
behaviour on those will stay the same as before the fix.

No new unit tests since we do not have automatic touch testing possibilities yet.
Please test manually with Surface: IE11 and Edge, use for example uitest:
com.vaadin.tests.components.grid.basics.GridBasicsomponents.grid.basics.GridBasics

Change-Id: Iddbf1852e6ffafc855f749d6f4ebb235ed0f5703
client/src/main/java/com/vaadin/client/widgets/Escalator.java
themes/src/main/themes/VAADIN/themes/base/escalator/escalator.scss