rob-balfre / svelte-select

Svelte Select. A select component for Svelte
https://svelte-select-examples.vercel.app
Other
1.25k stars 175 forks source link

Allow customizing the cursor #660

Open Samyak2 opened 5 months ago

Samyak2 commented 5 months ago

Description

The cursor has been set to the default pointer in various places. For example: https://github.com/rob-balfre/svelte-select/blob/e15946cfab77a2cb87923359e6bed7f05bc40f32/src/lib/Select.svelte#L950

IMO this looks odd, especially on the clear selection button. I would prefer a cursor: pointer; here, but that's subjective, so a way to customize that would be great.

Possible solutions

I tried inputStyles="cursor: pointer;" but that does not affect the dropdown item or the clear selection button.

Variables for setting the cursor for all of the items would be great.