You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a with in a svelte iterator, when adding a inside a svelte conditional {#if xx} the slot='after' is dropped and the badge appears on the left below the footer.
Did some research, experiments and it appears that svelte:fragments can be used to prevent this behavior which makes sense in the current design/adaptation of the library for Svelte. I will play with the component to see if there is a way to make the Badge implementation behave more Svelte'ish at the root component level. I'll do a PR if I can come up with something.
Check that this is really a bug
Reproduction link
none needed
Bug description
When building a with in a svelte iterator, when adding a inside a svelte conditional {#if xx} the slot='after' is dropped and the badge appears on the left below the footer.
works:
not working:
Expected Behavior
The expected behavior is to have a badge on the right side of the list item with a number in it
Actual Behavior
Konsta UI version
"konsta": "^3.1.1"
Platform/Target and Browser Versions
MacOS Chrome and iPhone Simulator
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: