{"action":"created","issue":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/9475","repository_url":"https://api.github.com/repos/zurb/foundation-sites","labels_url":"https://api.github.com/repos/zurb/foundation-sites/issues/9475/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation-sites/issues/9475/comments","events_url":"https://api.github.com/repos/zurb/foundation-sites/issues/9475/events","html_url":"https://github.com/zurb/foundation-sites/pull/9475","id":194475064,"number":9475,"title":"Trigger mutates on toggler & responsive nav show","user":{"login":"kball","id":44007,"avatar_url":"https://avatars.githubusercontent.com/u/44007?v=3","gravatar_id":"","url":"https://api.github.com/users/kball","html_url":"https://github.com/kball","followers_url":"https://api.github.com/users/kball/followers","following_url":"https://api.github.com/users/kball/following{/other_user}","gists_url":"https://api.github.com/users/kball/gists{/gist_id}","starred_url":"https://api.github.com/users/kball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kball/subscriptions","organizations_url":"https://api.github.com/users/kball/orgs","repos_url":"https://api.github.com/users/kball/repos","events_url":"https://api.github.com/users/kball/events{/privacy}","received_events_url":"https://api.github.com/users/kball/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-08T23:41:46Z","updated_at":"2016-12-08T23:42:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zurb/foundation-sites/pulls/9475","html_url":"https://github.com/zurb/foundation-sites/pull/9475","diff_url":"https://github.com/zurb/foundation-sites/pull/9475.diff","patch_url":"https://github.com/zurb/foundation-sites/pull/9475.patch"},"body":"We have a set of components (drilldown being the main one I'm seeing bugs in right now) that depend on understanding their own sizes to behave properly.  This has historically broken in a couple cases:\r\n\r\n1. When the internal content changes.\r\n2. When they are hidden at the time the calculation is happening\r\n\r\nWe're working on addressing case 1 via the automatic data-mutate listeners.  We haven't found a performant, global solution to case 2 (which would involve watching all parents all the time.. yick)\r\n\r\nHowever, we have 2 known situations _within_ the framework typically used for toggling visibility/layout... toggler and responsive nav.  This PR looks for [data-mutate] flagged components inside the targets for these toggles and triggers them.\r\n\r\nFixes a bug where drilldowns in a responsive nav end up being totally hidden (see `test/visual/responsive-menu/responsive-menu-right-dropdown.html`) among others.\r\n"},"comment":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/comments/265889819","html_url":"https://github.com/zurb/foundation-sites/pull/9475#issuecomment-265889819","issue_url":"https://api.github.com/repos/zurb/foundation-sites/issues/9475","id":265889819,"user":{"login":"kball","id":44007,"avatar_url":"https://avatars.githubusercontent.com/u/44007?v=3","gravatar_id":"","url":"https://api.github.com/users/kball","html_url":"https://github.com/kball","followers_url":"https://api.github.com/users/kball/followers","following_url":"https://api.github.com/users/kball/following{/other_user}","gists_url":"https://api.github.com/users/kball/gists{/gist_id}","starred_url":"https://api.github.com/users/kball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kball/subscriptions","organizations_url":"https://api.github.com/users/kball/orgs","repos_url":"https://api.github.com/users/kball/repos","events_url":"https://api.github.com/users/kball/events{/privacy}","received_events_url":"https://api.github.com/users/kball/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T23:42:37Z","updated_at":"2016-12-08T23:42:37Z","body":"@coreysyms am I totally crazy to do this? Any reason this would cause problems?"}}
{"actor":{"display_login":"kball"}}