### Version 2.4.4 ### Reproduction link [https://jsfiddle.net/9x0pvs9y/](https://jsfiddle.net/9x0pvs9y/) ### Steps to reproduce When judging whether to show the scopedSlots template ### What is expected? expected scopedSlots template can show/hidden base on if condition ### What is actually happening? template doesn't care v-if --- I know I can put the v-if on the parent tag, but this will have some redundancy <!-- generated by vue-issues. DO NOT REMOVE -->