Skip to content

Commit 8fe4e49

Browse files
committed
fix(Mobile): Don't preventDflt container touches
event.preventDefault() in uiGridRenderContainer touchmove handler was preventing momentum scrolling from working on mobile devices. Removing this call seems to have allowed more natural mobile scrolling. I have only tested on Android as that's what's available but hopefully iOS will be better as well
1 parent 7774d30 commit 8fe4e49

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/js/core/directives/ui-grid-render-container.js

-2
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@
175175
event = event.originalEvent;
176176
}
177177

178-
event.preventDefault();
179-
180178
var deltaX, deltaY, newX, newY;
181179
newX = event.targetTouches[0].screenX;
182180
newY = event.targetTouches[0].screenY;

0 commit comments

Comments
 (0)