You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Create a table with 20 columns
Add a select to the header of a few columns with a few values
My PR #1814 implements a simple minWidth option that will allow the dropdown to flow wider than the parent control. Hoping the maintainers will consider it for a simple easy upgrade to the control.
That doesn't really help because each dropdown is different in width - setting a minWidth is no different than just hardcoding a width on each element.
It is ugly but I ended up using JavaScript to find the length of the longest item in the dropdown.
I did:
(or gave a link to a demo on the Selectize docs)
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:
Fiddle: https://jsfiddle.net/csjqaf3m/
Expected result:
Actual result:
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
The text was updated successfully, but these errors were encountered: