Skip to content

HTML validation: Element “div” not allowed as child of element “span” #607

Open
@nhungnguyen3011

Description

@nhungnguyen3011

Since the HTML syntax is violated, this should be a bug.

Overview of the problem

I'm using react-rnd 9.1.2, but this still happens with lastest (10.1.1) version on every browser.

This issue is not a duplicate.

Reproduced project

There're some div tags that are rendered inside span tag.
A block-level element shouldn't place inside an inline element.

This bug is easily see on every demo of react-rnd.
For example, Story book:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions