{"action":"opened","issue":{"url":"https://api.github.com/repos/zurb/foundation/issues/6860","labels_url":"https://api.github.com/repos/zurb/foundation/issues/6860/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation/issues/6860/comments","events_url":"https://api.github.com/repos/zurb/foundation/issues/6860/events","html_url":"https://github.com/zurb/foundation/issues/6860","id":103076345,"number":6860,"title":"Topbar will get stuck open in Foundation 5.5.2 with Modernizr","user":{"login":"lethjakman","id":2230555,"avatar_url":"https://avatars.githubusercontent.com/u/2230555?v=3","gravatar_id":"","url":"https://api.github.com/users/lethjakman","html_url":"https://github.com/lethjakman","followers_url":"https://api.github.com/users/lethjakman/followers","following_url":"https://api.github.com/users/lethjakman/following{/other_user}","gists_url":"https://api.github.com/users/lethjakman/gists{/gist_id}","starred_url":"https://api.github.com/users/lethjakman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lethjakman/subscriptions","organizations_url":"https://api.github.com/users/lethjakman/orgs","repos_url":"https://api.github.com/users/lethjakman/repos","events_url":"https://api.github.com/users/lethjakman/events{/privacy}","received_events_url":"https://api.github.com/users/lethjakman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-25T17:25:06Z","updated_at":"2015-08-25T17:25:06Z","closed_at":null,"body":"If you have a topbar with a target=\"blank\" link to be opened in a separate tab the topbar will not close upon navigating back to your original tab. This bug will occur If you're on Foundation 5.5.2.x and have modernizr enabled. I have created an [example application here](https://github.com/lethjakman/test_foundation_topbar)\r\n\r\nSteps for reproduction:\r\n1. cd into test and run $ bundle install && rails s\r\n2. Navigate to 127.0.0.1 in a web browser (I used chrome)\r\n3. Hover over \"Right Button Dropdown\" then click the link that says \"Click Me\"\r\n4. Close the new google tab and return to your page to find that the dropdown is still opened.\r\n\r\nOne oddity of this bug is that it only occurs if you have modernizr enabled; if you go to the [javascript manifest file](https://github.com/lethjakman/test_foundation_topbar/blob/master/app/assets/javascripts/application.js#L16) and remove the modernizr require the topbar won't stay open."}}