slim-select icon indicating copy to clipboard operation
slim-select copied to clipboard

Bootstrap 5.1 placeholder class appending to .ss-single-selected .placeholder

Open RaoulHof opened this issue 3 years ago • 3 comments

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 image basically making the single-select useless.

image

image

https://getbootstrap.com/docs/5.1/components/placeholders/

RaoulHof avatar Aug 09 '21 08:08 RaoulHof

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

andimg93 avatar Sep 16 '21 13:09 andimg93

I have to do that fix(add the prefix), but in both css and js files, ss_placeholder (with underscore)

256javy avatar Oct 27 '21 01:10 256javy

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.

ToshY avatar Nov 18 '21 23:11 ToshY

New version released today! If this is still an issue let me know.

brianvoe avatar Nov 20 '22 20:11 brianvoe