{"action":"created","issue":{"url":"https://api.github.com/repos/homerjam/angular-scroll-magic/issues/11","repository_url":"https://api.github.com/repos/homerjam/angular-scroll-magic","labels_url":"https://api.github.com/repos/homerjam/angular-scroll-magic/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/homerjam/angular-scroll-magic/issues/11/comments","events_url":"https://api.github.com/repos/homerjam/angular-scroll-magic/issues/11/events","html_url":"https://github.com/homerjam/angular-scroll-magic/issues/11","id":188068416,"number":11,"title":"Scroll animation starts midway on page load.","user":{"login":"Samushel","id":14022771,"avatar_url":"https://avatars.githubusercontent.com/u/14022771?v=3","gravatar_id":"","url":"https://api.github.com/users/Samushel","html_url":"https://github.com/Samushel","followers_url":"https://api.github.com/users/Samushel/followers","following_url":"https://api.github.com/users/Samushel/following{/other_user}","gists_url":"https://api.github.com/users/Samushel/gists{/gist_id}","starred_url":"https://api.github.com/users/Samushel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samushel/subscriptions","organizations_url":"https://api.github.com/users/Samushel/orgs","repos_url":"https://api.github.com/users/Samushel/repos","events_url":"https://api.github.com/users/Samushel/events{/privacy}","received_events_url":"https://api.github.com/users/Samushel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-08T18:30:34Z","updated_at":"2016-11-11T16:51:08Z","closed_at":"2016-11-11T10:48:32Z","body":"Hello, I'm having this weird behavior when setting a scrolling Tween. My setup uses out of the box functionality and I haven't modified anything inside my controllers. \r\n\r\nWhen the page first loads, the effect (be it changing position or rotating it) is setup like it was already in the middle of the scrolling event. In my case the transform matrix starts like this: \r\n\r\n`matrix(0.89632, 0.44338, -0.44338, 0.89632, 0, 0)`\r\n\r\nIf I scroll down and finish the animation and scroll back up the matrix looks like it should from the beginning:\r\n\r\n`matrix(1, 0, 0, 1, 0, 0)`\r\n\r\nMy HTML markup looks like this: \r\n\r\n```html\r\n<div class=\"chevron_down\">\r\n  <a sm-tween=\"projects\"\r\n     to-vars=\"{rotation: '180'}\"\r\n     ng-href=\"#home-projects\">\r\n    Go\r\n  </a>\r\n</div>\r\n\r\n<div sm-scene=\"projects\" duration=\"300\" offset=\"0\" trigger-hook=\"1\"></div>\r\n\r\n<div class=\"project-grid\" id=\"home-projects\">\r\n  <h2>Projects</h2>\r\n  <p class=\"wide-legend\">\r\n    Lorem ipsum dolor sit amet, consectetur adipiscing elit et dolore.\r\n  </p>\r\n</div>\r\n```\r\nAngular version: 1.5.8\r\nScrollmagic version: 2.0.5\r\nAngular Scroll Magic version: 0.0.9\r\n\r\nTested on browers:\r\nChrome: 54.0.2840.87\r\nFirefox: 49.0.2\r\nMicrosoft Edge: 39.14931\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/homerjam/angular-scroll-magic/issues/comments/260001080","html_url":"https://github.com/homerjam/angular-scroll-magic/issues/11#issuecomment-260001080","issue_url":"https://api.github.com/repos/homerjam/angular-scroll-magic/issues/11","id":260001080,"user":{"login":"Samushel","id":14022771,"avatar_url":"https://avatars.githubusercontent.com/u/14022771?v=3","gravatar_id":"","url":"https://api.github.com/users/Samushel","html_url":"https://github.com/Samushel","followers_url":"https://api.github.com/users/Samushel/followers","following_url":"https://api.github.com/users/Samushel/following{/other_user}","gists_url":"https://api.github.com/users/Samushel/gists{/gist_id}","starred_url":"https://api.github.com/users/Samushel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samushel/subscriptions","organizations_url":"https://api.github.com/users/Samushel/orgs","repos_url":"https://api.github.com/users/Samushel/repos","events_url":"https://api.github.com/users/Samushel/events{/privacy}","received_events_url":"https://api.github.com/users/Samushel/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T16:51:08Z","updated_at":"2016-11-11T16:51:08Z","body":"Thank you very much for your help. Working for me now!"}}
{"actor":{"display_login":"Samushel"}}