Skip to content

domProps set to null or undefined are set to '' on update. #9650

Closed
@MayaRainer

Description

@MayaRainer

Version

2.6.8

Reproduction link

https://jsfiddle.net/bqzu8crg/

Steps to reproduce

Since this change, whenever an element updates which has one of its domProps set to undefined or null, that prop is instead set to ''.
All you need to do to reproduce it is render an element with properties in domProps set to null or undefined, and then update the component.

What is expected?

The domProps values retain their correct types.

What is actually happening?

The domProps become strings, instead.

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