Selecting a custom list item that contain a list does not highlight correctly
OpenUI5 version: 1.18.8
Browser/version Chrome desktop 34
Any other tested browsers/devices(OK/FAIL): firefox - 26.0 FAIL IE 11 - FAIL
URL (minimal example if possible): http://jsbin.com/netud/2/
User/password n/a
Steps to reproduce the problem:
- click on one of the list items, the item highlights
What is the expected result? expect the entire item should highlight
What happens instead? the part of the item that is the embedded list does not highlight, however the text that is part of the embedded list does turn white (and as such "disappears")
Any other information? (attach screenshot if possible)

Hi wombling,
CustomListItem accepts any control, At List inside List case, inner ListItem has more specific css rule than active background and this cause the issue. But we cannot write a theme that works for every control. You can also add a Shell as a CustomListItem then what should be the bg color? Actually from the control(List) we cannot know background handling is desired behavior for CustomListItems. So you should write your own custom css for this situation.
See: http://jsbin.com/qufuhati/1/
Best regards, Cahit
Thanks Cahit.
the custom CSS is a good solution. For others encountering the same issue in the future it might be worth the documentation around the CustomListItem being enhanced to point this out?
It is a shame that this can not be handled in the the standard, but I understand there must be some point where the line is drawn, indeed catering for a Shell would be quite ridiculous.
However this does leave me in an awkward position in that the UI5 controls that I'm using are being themed by multiple customers through the HANA Cloud Portal, and as such they can all change the background colours to be different. whilst my custom CSS would stay the same. :(
I can work around this by building a simple control that displays an array of texts, so all is not lost :) , and in the mean time the CSS you provided is helpful for a sticking plaster solution.
Thanks for your help.
Chris
PS clicking on my picture in GitHub does give details of who I am, whilst it is quite regular that I'm referred to as "wombling" it's also nice to be called Chris :)