Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Listview data-mini="true" should be ignored #4114

Closed
jaspermdegroot opened this Issue · 3 comments

3 participants

@jaspermdegroot
Collaborator

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?

@toddparker

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.

@jaspermdegroot
Collaborator

Close as fixed by removing the option from the JS.

@cmfcmf

Could you please add a notice to the docu explicitly saying that data-mini is ignored on listviews?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.