Skip to content

default slots without the new template syntax wont reevaluate v-if #9644

Closed
@AwsmOli

Description

@AwsmOli

Version

2.6.4

Reproduction lin

https://jsfiddle.net/0p6t7csx/3/
https://jsfiddle.net/n5wm23jt/

Steps to reproduce

use the toggle button - the syntax used in line 29 seems to not work as expected

What is expected?

All 3 paragraphs should always print the same text

What is actually happening?

the default slot without the new template syntax will only rerender once and then stay the same,


im not sure if the syntax for default slots is now still to be used that way - or if we always need to use a template now - but it worked with 2.6.0 to 2.6.3 and then stopped working in 2.6.4

//EDIT: updated reproduction (closed that slot tag)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions