{"comment":{"url":"https://api.github.com/repos/wikimedia/wikipedia-ios/comments/13723665","html_url":"https://github.com/wikimedia/wikipedia-ios/commit/7d569e7c3830b398255a8c837e1186d19a4a80d3#commitcomment-13723665","id":13723665,"user":{"login":"coreyfloyd","id":64771,"avatar_url":"https://avatars.githubusercontent.com/u/64771?v=3","gravatar_id":"","url":"https://api.github.com/users/coreyfloyd","html_url":"https://github.com/coreyfloyd","followers_url":"https://api.github.com/users/coreyfloyd/followers","following_url":"https://api.github.com/users/coreyfloyd/following{/other_user}","gists_url":"https://api.github.com/users/coreyfloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyfloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyfloyd/subscriptions","organizations_url":"https://api.github.com/users/coreyfloyd/orgs","repos_url":"https://api.github.com/users/coreyfloyd/repos","events_url":"https://api.github.com/users/coreyfloyd/events{/privacy}","received_events_url":"https://api.github.com/users/coreyfloyd/received_events","type":"User","site_admin":false},"position":11,"line":365,"path":"Wikipedia/View Controllers/WebView/WebViewController.m","commit_id":"7d569e7c3830b398255a8c837e1186d19a4a80d3","created_at":"2015-10-12T18:47:01Z","updated_at":"2015-10-12T18:47:01Z","body":"For sure… This was animated in the legacy app. Also, remember the web is visible the entire time… so it just looks like a flicker/bug if it isn't animated.\r\n\r\nTL;DR\r\nNow the ToC is using the MWKSection to specify the section to scroll to, before the ToC was were using elementIDs - which use different mechanisms. When I previously refactored this to work with sections, I couldn't find a way to animate the change using the section (fragments) like the legacy app - and Monte said he wasn't sure how either. \r\n\r\nHappened to find that we indeed had a way to do this when refactoring the reference VCs."}}