Describe the bug
It seems that changes to reactive attributes are not reflected if the slot="..." attribute is defined at the end (or after the reactive attributes) of a named slot element. Example:
<button slot="footer" disabled={disabled}>Working</button>
<button disabled={disabled} slot="footer">Not working</button>
EDIT
The above actually will work, but if both buttons have the slot attribute at the end, the disabled state is no longer reactive. So definitely there seems to be some issue with the order of occurrence of the slot attribute.
Logs
Nothing is logged. It just silently ignore the new state.
To Reproduce
Check the following repl - https://svelte.dev/repl/c90a72f4f9b14fde8775e81a22f44527?version=3.29.4
Expected behavior
I expect the order of the slot attribute to not have effect on the other reactive attributes.
Information about your Svelte project:
- Svelte 3.29.4 (Rollup)
- Chrome 86.0.4240.75
- Fedora 32
Severity
I don't consider the issue severe, but it is annoying.
Describe the bug
It seems that changes to reactive attributes are not reflected if the
slot="..."attribute is defined at the end (or after the reactive attributes) of a named slot element. Example:EDIT
The above actually will work, but if both buttons have the slot attribute at the end, the disabled state is no longer reactive. So definitely there seems to be some issue with the order of occurrence of the slot attribute.
Logs
Nothing is logged. It just silently ignore the new state.
To Reproduce
Check the following repl - https://svelte.dev/repl/c90a72f4f9b14fde8775e81a22f44527?version=3.29.4
Expected behavior
I expect the order of the
slotattribute to not have effect on the other reactive attributes.Information about your Svelte project:
Severity
I don't consider the issue severe, but it is annoying.