Visual issue mixing listview and collapsible
I'm trying to dynamically generate a listview with a filter that contains entries of collapsible items (each of which also contains a listview). If a create the listview element (either by using 'data-role="listview"' or calling listview() on the element), the view looks fine.
However, as soon as I filter on anything, all the collapsible items get a big white border put around them. It seems like the 'ui-li-static' class is being added to each item.
I believe this happens when a listview item doesn't have an anchor tag child and 'refresh' gets called on it (I'm able to reproduce the same symptoms by calling listview('refresh')) on the listview element.
I've spent hours trying different combinations ... I'm just trying to get something that looks like the
demo but with filters. Are filters and collapsibles just not compatible? Please help.
Thanks!
Versions: 1.4.5 for jquery-mobile, 2.1.0 for jquery.