Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

application won't scroll in android build. IONIC

Paolo_B_1
Beginner
621 Views

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

0 Kudos
2 Replies
Amrita_C_Intel
Employee
621 Views

Try this!

$.feat.nativeTouchScroll=true;
0 Kudos
PaulF_IntelCorp
Employee
621 Views

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.

0 Kudos
Reply