{"action":"opened","issue":{"url":"https://api.github.com/repos/infinitered/ProMotion/issues/782","repository_url":"https://api.github.com/repos/infinitered/ProMotion","labels_url":"https://api.github.com/repos/infinitered/ProMotion/issues/782/labels{/name}","comments_url":"https://api.github.com/repos/infinitered/ProMotion/issues/782/comments","events_url":"https://api.github.com/repos/infinitered/ProMotion/issues/782/events","html_url":"https://github.com/infinitered/ProMotion/issues/782","id":158473728,"number":782,"title":"Selection style not working","user":{"login":"afestein","id":6790096,"avatar_url":"https://avatars.githubusercontent.com/u/6790096?v=3","gravatar_id":"","url":"https://api.github.com/users/afestein","html_url":"https://github.com/afestein","followers_url":"https://api.github.com/users/afestein/followers","following_url":"https://api.github.com/users/afestein/following{/other_user}","gists_url":"https://api.github.com/users/afestein/gists{/gist_id}","starred_url":"https://api.github.com/users/afestein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afestein/subscriptions","organizations_url":"https://api.github.com/users/afestein/orgs","repos_url":"https://api.github.com/users/afestein/repos","events_url":"https://api.github.com/users/afestein/events{/privacy}","received_events_url":"https://api.github.com/users/afestein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-03T23:38:48Z","updated_at":"2016-06-03T23:38:48Z","closed_at":null,"body":"Hey guys,\r\n\r\nI'm struggling to get `selection_style` working on a very simple table:\r\n\r\n```\r\nclass Team < PM::TableScreen\r\n  def table_data\r\n    [{\r\n      cells: [\r\n        { title: \"Boston Celtics\", selection_style: :blue },\r\n        { title: \"Brooklyn Nets\", selection_style: :blue }\r\n      ]\r\n    }]\r\n  end\r\nend\r\n```\r\n\r\nAccording to the [docs](http://promotion.readthedocs.io/en/master/Reference/ProMotion%20Table%20-%20Cell%20Options/) I think I'm using it correctly. \r\n\r\nI'm expecting that when tapping a row it will turn blue, in reality it adopts the 'highlighted' style for a moment and then goes back to a white background: \r\n\r\n<img width=\"377\" alt=\"screen shot 2016-06-04 at 9 36 35 am\" src=\"https://cloud.githubusercontent.com/assets/6790096/15795736/de482448-2a37-11e6-8f53-fab1d78f46b4.png\">\r\n\r\nI've checked the value of `table_view.allowsSelection` and it's set to `true`. \r\n\r\nDoes anybody please have any ideas or suggestions? \r\n\r\nMany thanks."}}
{"actor":{"display_login":"afestein"}}