Skip to content

Why does manipulating the style property of the DOM not take effect? #13204

Closed as not planned
@workCleaner

Description

@workCleaner

Version

2.5.22

Reproduction link

codesandbox.io

Steps to reproduce

When a DOM element uses style="display:none;" and is involved in v-else-if rendering within a component, removing the style attribute directly from the DOM can fail. On the App page in CodeSandbox, the removal method will execute after a seven-second delay.

What is expected?

The style attribute is removed correctly.

What is actually happening?

The style attribute is not removed correctly.

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