Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7981603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:25:34+00:00 2026-06-04T10:25:34+00:00

I have a mobile application running Backbone.js and jQuery mobile. Because I have Backbone.js

  • 0

I have a mobile application running Backbone.js and jQuery mobile. Because I have Backbone.js and for performance reasons I have disabled all the JQM routing and transitions. I understand that storing scroll location is a feature available in JQM, but I am unable to utilize that (as far as I know).

I have a list view with a potentially long list of items. When the user taps one on the mobile device, it stores the current scroll position and renders a new view. When the user taps the “back” button, it goes back one in the history.

clickLink: ->
    window.lastScroll = $(window).scrollTop()

render: ->
    ...

    if window.lastScroll
        $.mobile.silentScroll window.lastScroll
        window.lastScroll = undefined

This works as desired on desktop Safari, but when I try it using it on iOS Safari (both simulator and the real thing), there is an issue with the fixed footer navbar.

If the user taps back, the listview is scrolled down as intended, but then if they tap the footer navbar, it is as if they tapped under it, whatever list item is under it will be activated instead. If the user scrolls a little bit before tapping the navbar, everything works fine.

Does anyone have any ideas? Perhaps there is a better approach that would avoid this issue all together.

Thanks in advance for the help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T10:25:36+00:00Added an answer on June 4, 2026 at 10:25 am

    Chad Smith Answered this Mobile Safari bug on fixed positioned button after scrollTop programmatically changed…?

    His method worked best for me. Here is his response:

    I got around it by adding a 101% high div then (almost) immediately removing it.

    Try:

    <style>
    .iosfix {
      height: 101%;
      overflow: hidden;
    }
    </style>
    

    and when you scroll:

    window.scrollTo(0, _NEW_SCROLLTOP_);
    $('body').append($('<div></div>').addClass('iosfix'));
    setTimeout(function() {
      $('.iosfix').remove();
    }, 500);
    

    It also works with jQuery.scrollTo.

    See an example here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery-mobile application that is running inside a UIWebView in an iphone
I have a Winodws Mobile 6.1 application running on an ARMV4I processor. Given a
I have a REST server and a client application running on a mobile device.
I have a popup select box in a form in my jQuery Mobile application.
I have a form in a Code Igniter view in my jQuery Mobile application.
I have an application developed to run on a particular cellphone running windows mobile.
We have a Windows Mobile application which is currently running on Symbol (now Motorola)
I have a .net 3.5 application running on windows mobile professional that uses sql
I'm trying to build a mobile application with PhoneGap, jQuery Mobile and Backbone.js on
I'm using jquery mobile and backbone.js to create a single page mobile application. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.