Skip to content

Strange variable or v-show behavior within <transition-group> with component and vue-resource involved #5661

@ipa1981

Description

@ipa1981

Version

2.3.3

Reproduction link

https://jsfiddle.net/50wL7mdz/33234/

Steps to reproduce

Run JSfiddle several times.

There are two <child> components in source, displaying same content after http call done asynchronously.
One component is wrapped within <transition-group>, while other is not.

What is expected?

Both <child> components to display "I'm visible" when loaded.

What is actually happening?

First component version within <transition-group> shows randomly.
<div v-show="!loading1" key="content"> with loading1 = false still produces style="display:none" on element


It's strange, but it's happens only with conjunction of vue-resource, and styles in <transition-group>
In other cases everything works well

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