{"action":"created","issue":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/7308","labels_url":"https://api.github.com/repos/zurb/foundation-sites/issues/7308/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation-sites/issues/7308/comments","events_url":"https://api.github.com/repos/zurb/foundation-sites/issues/7308/events","html_url":"https://github.com/zurb/foundation-sites/issues/7308","id":119461664,"number":7308,"title":"[Magellan] Scroll Offset not working, Top bar Height is not calculated for offset ","user":{"login":"phifa","id":3061129,"avatar_url":"https://avatars.githubusercontent.com/u/3061129?v=3","gravatar_id":"","url":"https://api.github.com/users/phifa","html_url":"https://github.com/phifa","followers_url":"https://api.github.com/users/phifa/followers","following_url":"https://api.github.com/users/phifa/following{/other_user}","gists_url":"https://api.github.com/users/phifa/gists{/gist_id}","starred_url":"https://api.github.com/users/phifa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phifa/subscriptions","organizations_url":"https://api.github.com/users/phifa/orgs","repos_url":"https://api.github.com/users/phifa/repos","events_url":"https://api.github.com/users/phifa/events{/privacy}","received_events_url":"https://api.github.com/users/phifa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zurb/foundation-sites/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/zurb/foundation-sites/labels/feature","name":"feature","color":"0b02e1"},{"url":"https://api.github.com/repos/zurb/foundation-sites/labels/javascript","name":"javascript","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"zurbchris","id":13631168,"avatar_url":"https://avatars.githubusercontent.com/u/13631168?v=3","gravatar_id":"","url":"https://api.github.com/users/zurbchris","html_url":"https://github.com/zurbchris","followers_url":"https://api.github.com/users/zurbchris/followers","following_url":"https://api.github.com/users/zurbchris/following{/other_user}","gists_url":"https://api.github.com/users/zurbchris/gists{/gist_id}","starred_url":"https://api.github.com/users/zurbchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zurbchris/subscriptions","organizations_url":"https://api.github.com/users/zurbchris/orgs","repos_url":"https://api.github.com/users/zurbchris/repos","events_url":"https://api.github.com/users/zurbchris/events{/privacy}","received_events_url":"https://api.github.com/users/zurbchris/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-30T10:17:31Z","updated_at":"2015-12-01T09:54:27Z","closed_at":null,"body":"**How can we reproduce this bug?**\r\n1. Go to the sample page: http://stage.dasachtegebot.de/magellan/lorem.html \r\n2. Click on the menu items in the Top Bar. \r\n3. At the destination, the headlines are covered with the Top Bar. \r\n\r\n**What did you expect to happen?**\r\nI expect the scrolling to end where the section starts, including the Fixed Top Bar! So the height of the Magellan Container needs to be included in the scroll position, or there needs to be a scroll offset option. When I add **threshold: 290**, the scrolling is correct (for one media query), but the magellan active stops working properly. I have to use **threshold: -1** though for it to work at all... But I guess that is another issue. Here is my app.js: http://stage.dasachtegebot.de/magellan/assets/js/app.js\r\n\r\n**What happened instead?**\r\nMagellan scrolls too far. \r\n\r\n**Test case**\r\nhttp://stage.dasachtegebot.de/magellan/lorem.html"},"comment":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/comments/160917184","html_url":"https://github.com/zurb/foundation-sites/issues/7308#issuecomment-160917184","issue_url":"https://api.github.com/repos/zurb/foundation-sites/issues/7308","id":160917184,"user":{"login":"phifa","id":3061129,"avatar_url":"https://avatars.githubusercontent.com/u/3061129?v=3","gravatar_id":"","url":"https://api.github.com/users/phifa","html_url":"https://github.com/phifa","followers_url":"https://api.github.com/users/phifa/followers","following_url":"https://api.github.com/users/phifa/following{/other_user}","gists_url":"https://api.github.com/users/phifa/gists{/gist_id}","starred_url":"https://api.github.com/users/phifa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phifa/subscriptions","organizations_url":"https://api.github.com/users/phifa/orgs","repos_url":"https://api.github.com/users/phifa/repos","events_url":"https://api.github.com/users/phifa/events{/privacy}","received_events_url":"https://api.github.com/users/phifa/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T09:54:27Z","updated_at":"2015-12-01T09:54:27Z","body":"Too bad, I have no idea how to do this. But, I can report another error :smile: \r\nAs you can see on the example page, once the first nav item is marked \"active\" and you scroll back to the top, it always stays active. \r\nhttp://stage.dasachtegebot.de/magellan/lorem.html "}}