Vue version
3.3.4
Link to minimal reproduction
https://stackblitz.com/edit/js-y4s9r7?file=index.js
Steps to reproduce
- Open reproduction
- Observe that
$slots count and $scopedSlots count is out of sync
What is expected?
$scopedSlots have all available slots, including non-scoped ones
What is actually happening?
$scopedSlots explicitly ignores non-scoped slots (like it was <Vue 2.6)
System Info
No response
Any additional comments?
This behaviour is explicitly added in 7f93c76
However, this is not the behaviour of Vue.js 2: see https://stackblitz.com/edit/js-gdxvd8?file=index.js,index.html
I've also explicitly added to the bottom of Vue.js 2 sandbox copy& paste of this test: https://github.com/vuejs/core/blob/main/packages/vue-compat/__tests__/instance.spec.ts#L286-L303 to demonstrate that test also check non-Vue.js 2 behaviour
Vue version
3.3.4
Link to minimal reproduction
https://stackblitz.com/edit/js-y4s9r7?file=index.js
Steps to reproduce
$slotscount and$scopedSlotscount is out of syncWhat is expected?
$scopedSlotshave all available slots, including non-scoped onesWhat is actually happening?
$scopedSlotsexplicitly ignores non-scoped slots (like it was <Vue 2.6)System Info
No response
Any additional comments?
This behaviour is explicitly added in 7f93c76
However, this is not the behaviour of Vue.js 2: see https://stackblitz.com/edit/js-gdxvd8?file=index.js,index.html
I've also explicitly added to the bottom of Vue.js 2 sandbox copy& paste of this test: https://github.com/vuejs/core/blob/main/packages/vue-compat/__tests__/instance.spec.ts#L286-L303 to demonstrate that test also check non-Vue.js 2 behaviour