Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Listview data-mini="true" should be ignored #4114
From a JS point of view data-mini true on listviews is supported. The ul gets class ui-mini. The CSS is not ready for it though. A basic link list will look fine, but as soon as thumbs, count bubbles, icons, split buttons, etc. are involved there are many positioning issues. List dividers and static li's have there own font-size, but no adjustment for when used in mini listview.
The documentation about listviews and the data- attribute reference doesn't say anything about mini on listviews being supported. Still I noticed while reading issues here, many people think it is a supported option.
Is it in the planning to update the CSS to support this? If not or in the meantime, shouldn't the JS ignore the data-mini="true" when it is used for an ul with data-role listview?
referenced this issue
Apr 21, 2012
We don't support mini listviews and I'm not sure it's a good idea from a usability perspective. I agree that we should probably just ignore this data attriburt on listviews and not add the class because we haven't worked on supporting that and I can see a lot of things breaking.