{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/jquery-mobile/issues/4259","labels_url":"https://api.github.com/repos/jquery/jquery-mobile/issues/4259/labels{/name}","comments_url":"https://api.github.com/repos/jquery/jquery-mobile/issues/4259/comments","events_url":"https://api.github.com/repos/jquery/jquery-mobile/issues/4259/events","html_url":"https://github.com/jquery/jquery-mobile/issues/4259","id":4370912,"number":4259,"title":"Fixed toolbars change position when navigating between tabs.","user":{"login":"balshamali","id":1691202,"avatar_url":"https://avatars.githubusercontent.com/u/1691202?v=3","gravatar_id":"","url":"https://api.github.com/users/balshamali","html_url":"https://github.com/balshamali","followers_url":"https://api.github.com/users/balshamali/followers","following_url":"https://api.github.com/users/balshamali/following{/other_user}","gists_url":"https://api.github.com/users/balshamali/gists{/gist_id}","starred_url":"https://api.github.com/users/balshamali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balshamali/subscriptions","organizations_url":"https://api.github.com/users/balshamali/orgs","repos_url":"https://api.github.com/users/balshamali/repos","events_url":"https://api.github.com/users/balshamali/events{/privacy}","received_events_url":"https://api.github.com/users/balshamali/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jquery/jquery-mobile/labels/Action:%20Needs%20device%20testing","name":"Action: Needs device testing","color":"fbca04"},{"url":"https://api.github.com/repos/jquery/jquery-mobile/labels/Component:%20Transitions","name":"Component: Transitions","color":"DDDDDD"},{"url":"https://api.github.com/repos/jquery/jquery-mobile/labels/Platform:%20iOS","name":"Platform: iOS","color":"BBBBBB"},{"url":"https://api.github.com/repos/jquery/jquery-mobile/labels/Tag:%20Fixed%20toolbars","name":"Tag: Fixed toolbars","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jquery/jquery-mobile/milestones/24","labels_url":"https://api.github.com/repos/jquery/jquery-mobile/milestones/24/labels","id":265123,"number":24,"title":"1.5.0","description":"","creator":{"login":"jaspermdegroot","id":1296793,"avatar_url":"https://avatars.githubusercontent.com/u/1296793?v=3","gravatar_id":"","url":"https://api.github.com/users/jaspermdegroot","html_url":"https://github.com/jaspermdegroot","followers_url":"https://api.github.com/users/jaspermdegroot/followers","following_url":"https://api.github.com/users/jaspermdegroot/following{/other_user}","gists_url":"https://api.github.com/users/jaspermdegroot/gists{/gist_id}","starred_url":"https://api.github.com/users/jaspermdegroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaspermdegroot/subscriptions","organizations_url":"https://api.github.com/users/jaspermdegroot/orgs","repos_url":"https://api.github.com/users/jaspermdegroot/repos","events_url":"https://api.github.com/users/jaspermdegroot/events{/privacy}","received_events_url":"https://api.github.com/users/jaspermdegroot/received_events","type":"User","site_admin":false},"open_issues":145,"closed_issues":95,"state":"open","created_at":"2013-02-12T09:05:39Z","updated_at":"2015-01-29T07:20:29Z","due_on":null,"closed_at":null},"comments":29,"created_at":"2012-05-01T17:58:50Z","updated_at":"2015-01-29T07:47:33Z","closed_at":null,"body":"Ive been using the fixed toolbar lately and its great, in most scenarios. However, there is a bug that Ive spent two days trying to figure out and finally found a workaround for the issue. \r\n\r\nThe testing was done on ios v5 iphone emulator and does not happen by testing in chrome. The fixed toolbar is not quite fixed when navigating between pages using a navbar in the footer. The fixed toolbar changes position if you are on one page, click on the top of the screen to auto-scroll to the top of safari (note this will show the address bar), navigate to another page that is not full (as in the content of the page does not occupy the page height). The footer will rise from the bottom in an amount equal to the height of the address bar. It can be set back to the fixed bottom position by scrolling. I tried to trigger a scroll event every time I switch pages but that doesn't seem to fix the issue. \r\n\r\nThe workaround i have now is that I have modified the line:\r\n\r\n$el.closest( \".ui-page\" ).css( \"padding-\" + ( header ? \"top\" : \"bottom\" ), $el.outerHeight() );\r\n\r\nin updatePagePadding function in fixedtoolbar implementation to always add enough padding to the bottom to fill the screen enough to push the footer to the bottom of the page. Any feedback would be great. Thanks"},"comment":{"url":"https://api.github.com/repos/jquery/jquery-mobile/issues/comments/71983272","html_url":"https://github.com/jquery/jquery-mobile/issues/4259#issuecomment-71983272","issue_url":"https://api.github.com/repos/jquery/jquery-mobile/issues/4259","id":71983272,"user":{"login":"gabrielschulhof","id":976081,"avatar_url":"https://avatars.githubusercontent.com/u/976081?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielschulhof","html_url":"https://github.com/gabrielschulhof","followers_url":"https://api.github.com/users/gabrielschulhof/followers","following_url":"https://api.github.com/users/gabrielschulhof/following{/other_user}","gists_url":"https://api.github.com/users/gabrielschulhof/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielschulhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielschulhof/subscriptions","organizations_url":"https://api.github.com/users/gabrielschulhof/orgs","repos_url":"https://api.github.com/users/gabrielschulhof/repos","events_url":"https://api.github.com/users/gabrielschulhof/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielschulhof/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T07:47:33Z","updated_at":"2015-01-29T07:47:33Z","body":"To see the effect:\r\n\r\n1. Go to page 3\r\n2. Click on the link \"Page 1\" located in the header\r\n\r\nAt this point, page 1 toolbars appear immediately, and the transition seems to affect only the contents, and the footer is offset."}}