slim-select
slim-select copied to clipboard
Bootstrap 5.1 placeholder class appending to .ss-single-selected .placeholder
With one of the latest bootstrap versions the placeholder
class gets appended with a bar and cursor: wait;
.
It changes the inside of the select to something like this basically making the single-select useless.
https://getbootstrap.com/docs/5.1/components/placeholders/
Until the placeholder is also prefixed with 'ss' like 'ss-placeholder' and you will probably have to wait even longer for that, since nobody is interested in the problem for more than a month already - I will just fix it via the main scss, like that:
.ss-main {
.ss-single-selected {
.placeholder {
cursor: pointer;
opacity: 1;
background-color: transparent;
}
}
}
Maybe you want to go with that fix, until it is fixed by slim-select
I have to do that fix(add the prefix), but in both css and js files, ss_placeholder
(with underscore)
At this point it's safe to say that this library is no longer under active development. Brian stated that he is "working on a second version", but that being almost a year ago, and more recently stating the same, that just leaves the impression that not much progress is being made.
The issues keep piling up, and suggestions like using these workarounds or downgrading to an older tag, are inconveniences you should not have to settle for. Do yourselves a favor and start thinking of using a more active library, like tom-select.
New version released today! If this is still an issue let me know.