{"action":"closed","issue":{"url":"https://api.github.com/repos/ymschaap/jquery-lockfixed/issues/4","labels_url":"https://api.github.com/repos/ymschaap/jquery-lockfixed/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ymschaap/jquery-lockfixed/issues/4/comments","events_url":"https://api.github.com/repos/ymschaap/jquery-lockfixed/issues/4/events","html_url":"https://github.com/ymschaap/jquery-lockfixed/issues/4","id":38530598,"number":4,"title":"Misaligned locking on iPad","user":{"login":"ehoch","id":852746,"avatar_url":"https://avatars.githubusercontent.com/u/852746?v=3","gravatar_id":"","url":"https://api.github.com/users/ehoch","html_url":"https://github.com/ehoch","followers_url":"https://api.github.com/users/ehoch/followers","following_url":"https://api.github.com/users/ehoch/following{/other_user}","gists_url":"https://api.github.com/users/ehoch/gists{/gist_id}","starred_url":"https://api.github.com/users/ehoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehoch/subscriptions","organizations_url":"https://api.github.com/users/ehoch/orgs","repos_url":"https://api.github.com/users/ehoch/repos","events_url":"https://api.github.com/users/ehoch/events{/privacy}","received_events_url":"https://api.github.com/users/ehoch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-07-23T13:50:51Z","updated_at":"2015-03-30T15:08:02Z","closed_at":"2015-03-30T15:08:02Z","body":"So I know this is hard to debug given my JS is all combined & minified, but my locked sidebar portion (.sticky) is locking to the bottom on iPads (instead of top like every other device / browser):\r\n\r\nhttp://www.thehollywoodgossip.com/\r\n\r\nOnly weird thing I'm doing is setting an interval timer to recalculate height every second for the first 10 seconds due to the dynamic height changes from javascript:\r\n\r\n```\r\napp.recalcStickyHeight = (interval, timeout) ->\r\n  # Recalculate height every second for the first 20 seconds during load\r\n  recalculate = setInterval (->\r\n    $(document).trigger \"lockfixed:pageupdate\"\r\n  ), interval\r\n\r\n  setTimeout (->\r\n    clearInterval(recalculate)\r\n  ), timeout\r\n\r\n$ ->\r\n  $.lockfixed(\"#sidebar .sticky\", {offset: {top: 10, bottom: 300}})\r\n  app.recalcStickyHeight(1000,10000)\r\n```"}}