No more fixed headers/footer (scroll badly!)

2 posts, 0 answers
  1. Jeelig
    Jeelig avatar
    31 posts
    Member since:
    Feb 2013

    Posted 14 Jul 2013 Link to this post

    Since the last update of Icenium Ion (2.2.0 version - 25 of june), I don't have no more fixed headers on my projects.
    Previously, on Jquery mobile for example, if I choosed "fixed position", headers and footers were not moving however you could scroll.
    (Just the content)
    Now on all of my projects, even if it's a fixed header/footer page, when scroll reaches the top, it continues scrolling with a kind of black background starting to appear on the screen.
    Make the apps NOT "feel Native"!
    Not sure this is due to the Cordova 2.7 version...
  2. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 15 Jul 2013 Link to this post

    Hello Gilles,

     There is a property in Cordova's config.xml introduced in 2.7 called 'DisallowOverscroll'. This property controls whether the native WebView will "rubber-band" when scrolling has reached a boundary. Since the default value of this property is 'false', Icenium Ion allows this behavior when scrolling. You can turn it off by editing your project's config.xml for your target platform, but it will take effect only in a native build of the app - you won't be able to test this in Ion.

    Regards,
    Yavor Georgiev
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
Back to Top