techniq / svelte-ux

Collection of Svelte components, actions, stores, and utilities to build highly interactive applications.
https://svelte-ux.techniq.dev/
MIT License
830 stars 46 forks source link

[MultiSelectField] - Immediately apply changes freezes page #507

Closed sergejbog closed 3 weeks ago

sergejbog commented 3 weeks ago

If you try to select an option for the multiselect field it freezes the whole page and makes the tab unresponsive. See the video below.

https://github.com/user-attachments/assets/337807fe-f258-48b8-b24e-ffb433c554c6

sergejbog commented 3 weeks ago

I just saw that the same problem exists on the MultiSelect component as well.

techniq commented 3 weeks ago

Thanks for the report @sergejbog . I was tracking this in issue #144 and is one of the last regressions with Svelte 5. It's due to an infinite loop on apply/change that I need to investigate. Should have a solution this weekend once I get some time to dig into it.

techniq commented 3 weeks ago

Resolved in 0.75.4 via https://github.com/techniq/svelte-ux/commit/2524959f59f72ce968624f3235e0b64ba30a88b6