[improvement] Swipe: optimize swipe gesture (#2039)

This commit is contained in:
neverland
2018-11-06 18:56:04 +08:00
committed by GitHub
parent d237a374fe
commit 027cf624af
4 changed files with 37 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ test('change head content when pulling down', () => {
// pulling
trigger(track, 'touchstart', 0, 0);
trigger(track, 'touchmove', 0, 10);
trigger(track, 'touchmove', 0, 20);
expect(wrapper).toMatchSnapshot();
// loosing