{"action":"created","issue":{"url":"https://api.github.com/repos/phosphorjs/phosphor-menus/issues/7","repository_url":"https://api.github.com/repos/phosphorjs/phosphor-menus","labels_url":"https://api.github.com/repos/phosphorjs/phosphor-menus/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/phosphorjs/phosphor-menus/issues/7/comments","events_url":"https://api.github.com/repos/phosphorjs/phosphor-menus/issues/7/events","html_url":"https://github.com/phosphorjs/phosphor-menus/issues/7","id":126553428,"number":7,"title":"submenu delay","user":{"login":"jasongrout","id":192614,"avatar_url":"https://avatars.githubusercontent.com/u/192614?v=3","gravatar_id":"","url":"https://api.github.com/users/jasongrout","html_url":"https://github.com/jasongrout","followers_url":"https://api.github.com/users/jasongrout/followers","following_url":"https://api.github.com/users/jasongrout/following{/other_user}","gists_url":"https://api.github.com/users/jasongrout/gists{/gist_id}","starred_url":"https://api.github.com/users/jasongrout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasongrout/subscriptions","organizations_url":"https://api.github.com/users/jasongrout/orgs","repos_url":"https://api.github.com/users/jasongrout/repos","events_url":"https://api.github.com/users/jasongrout/events{/privacy}","received_events_url":"https://api.github.com/users/jasongrout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-14T01:07:08Z","updated_at":"2016-04-26T11:34:05Z","closed_at":null,"body":"Here's an interesting take on the delay for submenus:\r\n\r\nhttp://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown"},"comment":{"url":"https://api.github.com/repos/phosphorjs/phosphor-menus/issues/comments/214712413","html_url":"https://github.com/phosphorjs/phosphor-menus/issues/7#issuecomment-214712413","issue_url":"https://api.github.com/repos/phosphorjs/phosphor-menus/issues/7","id":214712413,"user":{"login":"jjrv","id":778781,"avatar_url":"https://avatars.githubusercontent.com/u/778781?v=3","gravatar_id":"","url":"https://api.github.com/users/jjrv","html_url":"https://github.com/jjrv","followers_url":"https://api.github.com/users/jjrv/followers","following_url":"https://api.github.com/users/jjrv/following{/other_user}","gists_url":"https://api.github.com/users/jjrv/gists{/gist_id}","starred_url":"https://api.github.com/users/jjrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjrv/subscriptions","organizations_url":"https://api.github.com/users/jjrv/orgs","repos_url":"https://api.github.com/users/jjrv/repos","events_url":"https://api.github.com/users/jjrv/events{/privacy}","received_events_url":"https://api.github.com/users/jjrv/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T11:34:05Z","updated_at":"2016-04-26T11:34:05Z","body":"The article jasongrout linked is about an algorithm in use in classic Mac OS desktop menus, and still in current versions of OS X. It's easier to move to a submenu when passing over sibling items along the direct mouse path is allowed. Not seen in the gif but if you move the mouse a little bit left before heading to the submenu, it will close the instant the mouse is over a sibling in the parent menu.\r\n\r\nYou can see that there's a slight delay before submenus open. Amazon has set that delay to zero, but left in place the delay when the mouse is moving towards the submenu. That might make the UI feel even more responsive, without hurting usability.\r\n\r\n![OS X menu](https://cloud.githubusercontent.com/assets/778781/14816591/6aff25f4-0bba-11e6-8c9e-7af83d9863cd.gif)\r\n\r\nI think the above should be the default behavior. The article also shows how bad Bootstrap is in comparison:\r\n\r\n![bootstrap menu](http://static.tumblr.com/9hgswys/iU1mj8c6y/bootstrap-bug.gif)\r\n"}}