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
And then make the .customSelect and selectwidth: 100%? That way the user can easily just make the container responsive in whatever way they want and both the select and the customSelect will stay exactly the same size as the container using simple css?
Honestly its kind of weird you put it parallel to the select in the DOM and then you try to manage the width of each element by itself using javascript...
The text was updated successfully, but these errors were encountered:
Yeah I'm doing something like that already. I was just curious as to why the plugin wouldn't do something so obvious instead of using JS to hardcode widths.
I also thought the same, but implementing the modification would create
compatibility issues with previous installations (and CSS).
I think the solution would be a switch parameter for activating this mode
Massi
Yeah I'm doing something like that already. I was just curious as to why
the plugin wouldn't do something so obvious instead of using JS to hardcode
widths.
—
Reply to this email directly or view it on GitHub #102 (comment)
.
Instead of creating your
span
next to theselect
like this:Why don't you wrap everything into a containing element
And then make the
.customSelect
andselect
width: 100%
? That way the user can easily just make the container responsive in whatever way they want and both the select and the customSelect will stay exactly the same size as the container using simple css?Honestly its kind of weird you put it parallel to the select in the DOM and then you try to manage the width of each element by itself using javascript...
The text was updated successfully, but these errors were encountered: