Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

suggestion: standard width for <select> field #1518

Closed
@frequent

Description

@frequent
Contributor

The select field width adapts depending on the item the user selects.

Would it make sense to set automatically set the width to the largest option with text-overflow = ellipsis at a certain max-width? Makes layouting with select fields much easier.

So as:

select
option 1 = 123
option 2 = "this is a long option text"

select-width would be the width required to display option 2.

Activity

toddparker

toddparker commented on Apr 28, 2011

@toddparker
Contributor

This is worth considering since it's the standard behavior with a native select.

toddparker

toddparker commented on Sep 27, 2011

@toddparker
Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @toddparker@frequent

        Issue actions

          suggestion: standard width for <select> field · Issue #1518 · jquery-archive/jquery-mobile