{"action":"created","issue":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/9443","repository_url":"https://api.github.com/repos/zurb/foundation-sites","labels_url":"https://api.github.com/repos/zurb/foundation-sites/issues/9443/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation-sites/issues/9443/comments","events_url":"https://api.github.com/repos/zurb/foundation-sites/issues/9443/events","html_url":"https://github.com/zurb/foundation-sites/pull/9443","id":193357267,"number":9443,"title":"Fix #9427 - Dropdown menu mouseout ignored","user":{"login":"ncoden","id":9939075,"avatar_url":"https://avatars.githubusercontent.com/u/9939075?v=3","gravatar_id":"","url":"https://api.github.com/users/ncoden","html_url":"https://github.com/ncoden","followers_url":"https://api.github.com/users/ncoden/followers","following_url":"https://api.github.com/users/ncoden/following{/other_user}","gists_url":"https://api.github.com/users/ncoden/gists{/gist_id}","starred_url":"https://api.github.com/users/ncoden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncoden/subscriptions","organizations_url":"https://api.github.com/users/ncoden/orgs","repos_url":"https://api.github.com/users/ncoden/repos","events_url":"https://api.github.com/users/ncoden/events{/privacy}","received_events_url":"https://api.github.com/users/ncoden/received_events","type":"User","site_admin":false},"labels":[{"id":425263577,"url":"https://api.github.com/repos/zurb/foundation-sites/labels/dropdown%20menu","name":"dropdown menu","color":"1197eb","default":false},{"id":67281295,"url":"https://api.github.com/repos/zurb/foundation-sites/labels/javascript","name":"javascript","color":"f0db4f","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-04T15:37:45Z","updated_at":"2016-12-06T21:21:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zurb/foundation-sites/pulls/9443","html_url":"https://github.com/zurb/foundation-sites/pull/9443","diff_url":"https://github.com/zurb/foundation-sites/pull/9443.diff","patch_url":"https://github.com/zurb/foundation-sites/pull/9443.patch"},"body":"Fix https://github.com/zurb/foundation-sites/issues/9427\r\n\r\n**What happens**:\r\nThe hide delay of the visible dropdown is replaced by the delays of the lastly triggered dropdown, so the hide function is never called on the currently visible dropdown.\r\n\r\n**Solution**:\r\nRemember and cancel the delay inside each element. So a visible dropdown remember its hide delay even if several dropdown must be hidden.\r\n\r\n**Changes**:\r\n- Use `this.delay` instead of `_this.delay`\r\n- Add a visual test\r\n\r\n⚠️  I don't know the Foundation JS enough. I checked the dropdown work (even with different show/close delays options), but I can't ensure this is a correct fix."},"comment":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/comments/265276115","html_url":"https://github.com/zurb/foundation-sites/pull/9443#issuecomment-265276115","issue_url":"https://api.github.com/repos/zurb/foundation-sites/issues/9443","id":265276115,"user":{"login":"ncoden","id":9939075,"avatar_url":"https://avatars.githubusercontent.com/u/9939075?v=3","gravatar_id":"","url":"https://api.github.com/users/ncoden","html_url":"https://github.com/ncoden","followers_url":"https://api.github.com/users/ncoden/followers","following_url":"https://api.github.com/users/ncoden/following{/other_user}","gists_url":"https://api.github.com/users/ncoden/gists{/gist_id}","starred_url":"https://api.github.com/users/ncoden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncoden/subscriptions","organizations_url":"https://api.github.com/users/ncoden/orgs","repos_url":"https://api.github.com/users/ncoden/repos","events_url":"https://api.github.com/users/ncoden/events{/privacy}","received_events_url":"https://api.github.com/users/ncoden/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T21:21:30Z","updated_at":"2016-12-06T21:21:30Z","body":"I already tried what you proposed, but we can't use a jQuery or DOM element as an index, because it is converted to a string (`[object Object]`).\r\n\r\nSee: https://codepen.io/ncoden/pen/qqYqYY"}}
{"actor":{"display_login":"ncoden"}}