{"action":"created","issue":{"url":"https://api.github.com/repos/SAP/openui5/issues/252","labels_url":"https://api.github.com/repos/SAP/openui5/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/SAP/openui5/issues/252/comments","events_url":"https://api.github.com/repos/SAP/openui5/issues/252/events","html_url":"https://github.com/SAP/openui5/issues/252","id":52019166,"number":252,"title":"sap.m.List: Focus lost after item deletion","user":{"login":"cmastrandrea","id":6921121,"avatar_url":"https://avatars.githubusercontent.com/u/6921121?v=3","gravatar_id":"","url":"https://api.github.com/users/cmastrandrea","html_url":"https://github.com/cmastrandrea","followers_url":"https://api.github.com/users/cmastrandrea/followers","following_url":"https://api.github.com/users/cmastrandrea/following{/other_user}","gists_url":"https://api.github.com/users/cmastrandrea/gists{/gist_id}","starred_url":"https://api.github.com/users/cmastrandrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmastrandrea/subscriptions","organizations_url":"https://api.github.com/users/cmastrandrea/orgs","repos_url":"https://api.github.com/users/cmastrandrea/repos","events_url":"https://api.github.com/users/cmastrandrea/events{/privacy}","received_events_url":"https://api.github.com/users/cmastrandrea/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SAP/openui5/labels/approved","name":"approved","color":"FFBF7F"},{"url":"https://api.github.com/repos/SAP/openui5/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/SAP/openui5/labels/fixed","name":"fixed","color":"7FFF7F"},{"url":"https://api.github.com/repos/SAP/openui5/labels/works","name":"works","color":"dddddd"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-15T18:09:23Z","updated_at":"2015-02-27T15:25:58Z","closed_at":"2015-02-26T12:05:55Z","body":"OpenUI5 version: Latest version\r\n\r\nBrowser/version (+device/version): All common browsers\r\n\r\nAny other tested browsers/devices(OK/FAIL):\r\n\r\nURL (minimal example if possible): https://openui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.ListDeletion/preview\r\n\r\nUser/password (if required and possible - do not post any confidential information here): \r\n\r\nSteps to reproduce the problem:\r\n1. On a desktop computer, click on an item from the list\r\n2. Using the keyboard only, press the keyboard delete key to delete the item\r\n3. Observe that the focus has left the list.\r\n\r\nWhat is the expected result? Expected that focus would remain in the list, with perhaps the next adjacent item having focus.\r\n \r\nWhat happens instead? Instead the list loses focus, and the keyboard user has to tab their way back to the list. The number of tabs varies depending on the browser. \r\n\r\nAny other information? (attach screenshot if possible)\r\n"},"comment":{"url":"https://api.github.com/repos/SAP/openui5/issues/comments/76411482","html_url":"https://github.com/SAP/openui5/issues/252#issuecomment-76411482","issue_url":"https://api.github.com/repos/SAP/openui5/issues/252","id":76411482,"user":{"login":"cmastrandrea","id":6921121,"avatar_url":"https://avatars.githubusercontent.com/u/6921121?v=3","gravatar_id":"","url":"https://api.github.com/users/cmastrandrea","html_url":"https://github.com/cmastrandrea","followers_url":"https://api.github.com/users/cmastrandrea/followers","following_url":"https://api.github.com/users/cmastrandrea/following{/other_user}","gists_url":"https://api.github.com/users/cmastrandrea/gists{/gist_id}","starred_url":"https://api.github.com/users/cmastrandrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmastrandrea/subscriptions","organizations_url":"https://api.github.com/users/cmastrandrea/orgs","repos_url":"https://api.github.com/users/cmastrandrea/repos","events_url":"https://api.github.com/users/cmastrandrea/events{/privacy}","received_events_url":"https://api.github.com/users/cmastrandrea/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T15:25:58Z","updated_at":"2015-02-27T15:25:58Z","body":"I recognize the complexity of some of the other cases, particularly with bindings. But since the list control listens for Del key presses and deletes the item, it seems like it should be responsible for maintaining focus in that scenario. And that should be a pretty easy win since it's a common use case."}}