2

I'm upgrading to Kendo UI Mobile v2013.1.514 (from v2013.1.319) and everything works great except that it attaches "touchmove" along with preventDefault() for everything inside of my views.

It seems to attach touchmove prior to the first showing of the view. I could code around it (unbind, then bind, etc...) but it wouldn't be too pretty.

Is there an option I can specify that would make it not attach touchmove in the first place?

ewindsor
  • 885
  • 10
  • 24

1 Answers1

3

The touchnmove is handled by the View's Scroller. You can avoid that if you remove it with the stretch configuration option or replace it with the native overflow scrolling - with useNativeScrolling. The second option won't remove the scroller where native scrolling is not available e.g. in Android 2.x.

Bundyo
  • 2,195
  • 13
  • 13
  • I tried both, but neither prevent this handler from being added to touchmove: – ewindsor May 31 '13 at 17:38
  • function (e) {e.target.tagName.match(/textarea|input/i)||e.preventDefault();} I check it by using $._data($('#divId')[0], 'events'). And also by attempting to scroll my own home-made scroller... – ewindsor May 31 '13 at 17:38