{"action":"opened","issue":{"url":"https://api.github.com/repos/zurb/foundation-apps/issues/511","labels_url":"https://api.github.com/repos/zurb/foundation-apps/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation-apps/issues/511/comments","events_url":"https://api.github.com/repos/zurb/foundation-apps/issues/511/events","html_url":"https://github.com/zurb/foundation-apps/issues/511","id":59875345,"number":511,"title":"Prevent panel animations from playing on larger screens","user":{"login":"gakimball","id":1142001,"avatar_url":"https://avatars.githubusercontent.com/u/1142001?v=3","gravatar_id":"","url":"https://api.github.com/users/gakimball","html_url":"https://github.com/gakimball","followers_url":"https://api.github.com/users/gakimball/followers","following_url":"https://api.github.com/users/gakimball/following{/other_user}","gists_url":"https://api.github.com/users/gakimball/gists{/gist_id}","starred_url":"https://api.github.com/users/gakimball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gakimball/subscriptions","organizations_url":"https://api.github.com/users/gakimball/orgs","repos_url":"https://api.github.com/users/gakimball/repos","events_url":"https://api.github.com/users/gakimball/events{/privacy}","received_events_url":"https://api.github.com/users/gakimball/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zurb/foundation-apps/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/zurb/foundation-apps/labels/javascript","name":"javascript","color":"f0db4f"}],"state":"open","locked":false,"assignee":{"login":"jeanieshark","id":5520141,"avatar_url":"https://avatars.githubusercontent.com/u/5520141?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanieshark","html_url":"https://github.com/jeanieshark","followers_url":"https://api.github.com/users/jeanieshark/followers","following_url":"https://api.github.com/users/jeanieshark/following{/other_user}","gists_url":"https://api.github.com/users/jeanieshark/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanieshark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanieshark/subscriptions","organizations_url":"https://api.github.com/users/jeanieshark/orgs","repos_url":"https://api.github.com/users/jeanieshark/repos","events_url":"https://api.github.com/users/jeanieshark/events{/privacy}","received_events_url":"https://api.github.com/users/jeanieshark/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/zurb/foundation-apps/milestones/5","html_url":"https://github.com/zurb/foundation-apps/milestones/v1.1","labels_url":"https://api.github.com/repos/zurb/foundation-apps/milestones/5/labels","id":979099,"number":5,"title":"v1.1","description":"","creator":{"login":"gakimball","id":1142001,"avatar_url":"https://avatars.githubusercontent.com/u/1142001?v=3","gravatar_id":"","url":"https://api.github.com/users/gakimball","html_url":"https://github.com/gakimball","followers_url":"https://api.github.com/users/gakimball/followers","following_url":"https://api.github.com/users/gakimball/following{/other_user}","gists_url":"https://api.github.com/users/gakimball/gists{/gist_id}","starred_url":"https://api.github.com/users/gakimball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gakimball/subscriptions","organizations_url":"https://api.github.com/users/gakimball/orgs","repos_url":"https://api.github.com/users/gakimball/repos","events_url":"https://api.github.com/users/gakimball/events{/privacy}","received_events_url":"https://api.github.com/users/gakimball/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2015-02-13T23:01:00Z","updated_at":"2015-03-04T22:47:08Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-03-04T22:47:08Z","updated_at":"2015-03-04T22:47:08Z","closed_at":null,"body":"Right now if you fire an `open` or `close` event on a panel that has converted into a block, the in/out animation will still play, and the `is-active` class is toggled. For a panel that is now a block, this is unnecessary, and also causes the in/out animations to play on grid elements, which just looks weird.\r\n\r\nTo solve the problem, *the open/close process on panels should be cancelled if it's switched into block mode*. I think the easiest way to detect this is by reading the `position` property on the panel. If it's `static`, then you know the panel is not a panel anymore, and doesn't need an open/close action. This works regardless of what classes the developer is using, or what breakpoint the panel switches at—if the panel is `position: static`, you know that it doesn't need to be animated."}}