kahi-ui icon indicating copy to clipboard operation
kahi-ui copied to clipboard

DataSelect indicator doesn't go away as expected on deselect

Open scottBowles opened this issue 2 years ago • 0 comments

Describe the Bug

Using the DataSelect component with the multiple prop, when I deselect an option the square indicator remains until my next click (at which point it disappears as expected). I can see that the Svelte store I have bound to logic_state updates immediately as expected. It's just the indicator that is out of sync until the next click.

Reproduction

You can see this occurring in the Multiple example at https://kahi-ui.nbn.dev/docs/widgets/dataselect. I first came across this bug locally though, so it isn't just the example.

System Info

Mac using Chrome

Additional Context

No response

scottBowles avatar May 26 '22 00:05 scottBowles