- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm a beginner in intel xdk after I build my application in android phone, my app appears can't be scroll. What should I do? I really need your help. thanks
- Tags:
- HTML5
- Intel® XDK
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this!
$.feat.nativeTouchScroll=true;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
p.s. That trick that Amrita provided you assumes you are using App Framework. If that is not the case you might have some code in your app that is disabling the scrolling action, for example, if you have something similar to the following:
//*** Prevent Default Scroll ****** preventDefaultScroll = function(event) { // Prevent scrolling on this element event.preventDefault(); window.scroll(0,0); return false; }; window.document.addEventListener('touchmove', preventDefaultScroll, false);
You won't be able to scroll your screen.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page