GoogleChromeLabs / ui-element-samples

A collection of prototyped UI elements
https://googlechromelabs.github.io/ui-element-samples
Apache License 2.0
4.12k stars 745 forks source link

Scrolling doesn't work with swipable cards #23

Open TWiStErRob opened 8 years ago

TWiStErRob commented 8 years ago
  1. Open https://googlechrome.github.io/ui-element-samples/swipeable-cards/ in Android Chrome
  2. Start scrolling down by touching

If the touchdown happens on a card, the code captures it; but if the touchdown is outside a card on the background, it works.

jimut commented 8 years ago

You can delete evt.preventDefault(); from onStart() function. This will solve the problem to some extent.