jquery/jquery-mobile — Issue #2819: use of ui-li-count in nested list causes number to be on top of icon
Author: ahutch
Created: 2011-10-24 01:39:48+00:00
State: open

I know you are going to say that I am using a listview in the wrong way. But I need to be able to replace a portion of a list dynamically. I can achieve this with a nested list. Other ideas are welcome.

http://jsfiddle.net/HFbpE/46/

The example styles a nested list to look like one continuos list. The inner list uses ui-li-count. The position of the number is on top of the icon. I investigated and it seems that JQM is adding ui-li-divider to the list even though it is not divided. This causes the position of the number to be wrong.