Skip to content

Selectize reduces width of dropdown making options illegible #1653

Closed
@whitsey

Description

@whitsey

I did:

  • Search for if my issue has already been submitted
  • Make sure I'm reporting something precise that needs to be fixed
  • Give my issue a descriptive and concise title
  • Create a minimal working example on JsFiddle or Codepen
    (or gave a link to a demo on the Selectize docs)
  • Indicate precise steps to reproduce in numbers and the result,
    like below

When loading selectize select inside a table, the table automatically reduces the cell width to the miminum possible squeezing selectize. When you open dropdown, the options are illegible - the first 3-4 characters can be read and the rest are hidden.

Steps to reproduce:

  1. Create a table with 20 columns
  2. Add a select to the header of a few columns with a few values
  3. View the dropdown options after selectize applied

Fiddle: https://jsfiddle.net/csjqaf3m/

Expected result:

image

Actual result:

image

These columns cannot have fixed widths because the data loaded into the varies - Just need the dropdown to be set to the width of its content

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending reviewThis issue was closed as stale; since then additional review has been requested.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions