{"action":"created","issue":{"url":"https://api.github.com/repos/enactjs/enact/issues/1683","repository_url":"https://api.github.com/repos/enactjs/enact","labels_url":"https://api.github.com/repos/enactjs/enact/issues/1683/labels{/name}","comments_url":"https://api.github.com/repos/enactjs/enact/issues/1683/comments","events_url":"https://api.github.com/repos/enactjs/enact/issues/1683/events","html_url":"https://github.com/enactjs/enact/pull/1683","id":327480945,"number":1683,"title":"ENYO-5151: Adjust Spotlight Partitions/Priorities","user":{"login":"germboy","id":371785,"avatar_url":"https://avatars0.githubusercontent.com/u/371785?v=4","gravatar_id":"","url":"https://api.github.com/users/germboy","html_url":"https://github.com/germboy","followers_url":"https://api.github.com/users/germboy/followers","following_url":"https://api.github.com/users/germboy/following{/other_user}","gists_url":"https://api.github.com/users/germboy/gists{/gist_id}","starred_url":"https://api.github.com/users/germboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germboy/subscriptions","organizations_url":"https://api.github.com/users/germboy/orgs","repos_url":"https://api.github.com/users/germboy/repos","events_url":"https://api.github.com/users/germboy/events{/privacy}","received_events_url":"https://api.github.com/users/germboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-29T20:45:33Z","updated_at":"2018-05-30T15:42:48Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/enactjs/enact/pulls/1683","html_url":"https://github.com/enactjs/enact/pull/1683","diff_url":"https://github.com/enactjs/enact/pull/1683.diff","patch_url":"https://github.com/enactjs/enact/pull/1683.patch"},"body":"### Issue Resolved / Feature Added\r\nSpotlight sometimes fails to select the expected \"most natural\" spottable element when using 5-way. We adjusted the spotlight partitions and priorities in #1495. That fix appears to be ever-so-slightly heavy-handed in its execution - as there are rare cases where 5-way does not perform as expected after that change.\r\n\r\n### Resolution\r\nWhen pressing a 5-way directional key, spotlight calculates where the \"next\" element is located on a 9-tile grid location, relative to the currently focused element (top-left, top-center, top-right, middle-left, etc). The correct grid location of \"next\" (when not an internal group) should be based on an additional factors we aren't taking into consideration at the time - 5-way direction pressed. The \"next\" element could actually live in multiple grid locations. We are able to isolate and identify which grid location to target based on 5-way direction pressed.\r\n\r\nThe solution is to revert the original calculation, unless navigating vertically. Spotlight internal group calculations are not relevant or affected by this change.\r\n\r\n### Links\r\nIssue caused by #1495 \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/enactjs/enact/issues/comments/393211267","html_url":"https://github.com/enactjs/enact/pull/1683#issuecomment-393211267","issue_url":"https://api.github.com/repos/enactjs/enact/issues/1683","id":393211267,"user":{"login":"ryanjduffy","id":788456,"avatar_url":"https://avatars3.githubusercontent.com/u/788456?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanjduffy","html_url":"https://github.com/ryanjduffy","followers_url":"https://api.github.com/users/ryanjduffy/followers","following_url":"https://api.github.com/users/ryanjduffy/following{/other_user}","gists_url":"https://api.github.com/users/ryanjduffy/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanjduffy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanjduffy/subscriptions","organizations_url":"https://api.github.com/users/ryanjduffy/orgs","repos_url":"https://api.github.com/users/ryanjduffy/repos","events_url":"https://api.github.com/users/ryanjduffy/events{/privacy}","received_events_url":"https://api.github.com/users/ryanjduffy/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T15:42:48Z","updated_at":"2018-05-30T15:42:48Z","author_association":"CONTRIBUTOR","body":"> The solution is to revert the original calculation, unless navigating vertically.\r\n\r\nWhat is unique about vertical navigations?"}}
{"actor":{"display_login":"ryanjduffy"}}