If you provide a 'Listgroup' components with a collection of items that have their 'onclick' property set, those 'onclick' events aren't fired when the actual item is clicked.
The reason is that the 'onclick' on the 'Listgroup' always "overwrites" the 'onclick' of the items.
Describe the bug
If you provide a 'Listgroup' components with a collection of items that have their 'onclick' property set, those 'onclick' events aren't fired when the actual item is clicked. The reason is that the 'onclick' on the 'Listgroup' always "overwrites" the 'onclick' of the items.
Reproduction
https://github.com/timblommerde/svelte5ui-listgroup-bugexample
This repo also contains a small fix for the problem.
Version and System Info