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

[Bug]: The clear button plugin uses different unicode characters than the remove button

Open FlorianBoe opened this issue 7 months ago • 1 comments

Bug description

I know it's probably not something that many people will notice, but in relevant cases it leads to unsightly visual results.

The clear button plugin uses the Unicode character U+2A2F (VECTOR OR CROSS PRODUCT) as the close icon, while U+00D7 (MULTIPLICATION SIGN) is used to deselected items.

Here are the two unicode characters: ⨯ ×

The difference between these two characters is the vertical alignment and that U+2A2F is rarely part of a font file. In these cases, a fallback font is used (in my case Apple Symbols), which then also differs from the original font in terms of stroke width.

I would suggest replacing ⨯ with × in this line.

Expected behavior

⨯ sould be ×

Steps to reproduce

Take a look at this line

Additional context

No context needed

FlorianBoe avatar Mar 21 '25 12:03 FlorianBoe