core-vapor icon indicating copy to clipboard operation
core-vapor copied to clipboard

Slots level mess up

Open Doctor-wu opened this issue 8 months ago • 1 comments

Currently, dynamic slots will re-render when dependencies change. It will override static slots if the dynamic slot has the same name as the static slots which is not expected. Slots should determine who renders based on the declaration order.

Check DEMO and change input's value, and then change back to "default", you will find the dynamic slots rendered, but it shouldn't, since static slot declared later than dynamic slot.

Doctor-wu avatar Jun 19 '24 14:06 Doctor-wu