Skip to content

Inline :style with value 0 ignored #3816

@jeroennoten

Description

@jeroennoten

Vue.js version

2.0.0-rc.8

Reproduction Link

https://jsfiddle.net/Lcp6zekn/

Steps to reproduce

Add a style attribute with value 0, e.g. <div :style="{opacity: 0}"></div> or <div :style="{padding: 0}"></div>.

What is Expected?

The value is respected.

What is actually happening?

The value is ignored.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions