Skip to content

v-html gets completely refreshed rather than patched when being re-rendered #4247

@Philipp-M

Description

@Philipp-M

Vue.js version

2.0.7

Reproduction Link

http://jsfiddle.net/v4f2typt/

Steps to reproduce

just look at the moving 'some html', the animation should run for 4 seconds, also check the element tab in the developer tools, where it is visible that the elements representing the v-html are changed

What is Expected?

the animation will complete, and the DOM element doesn't get reinserted

What is actually happening?

I guess, that the html in v-html gets removed and reinserted once the style has changed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions