Skip to content

Form rendering is off within a summary section #1696

@yatesco

Description

@yatesco

This is about Bulma.

Overview of the problem

Description

Forms rendered inside a <details> inside a <nav> don't render correctly. If I remove the <details> and <summary> tag then the form renders correctly. Specifically, the broken form extends past the right hand side of the containing div.

In the screenshot you can see both a working and non-working form:

screen shot 2018-03-02 at 21 57 18

The broken form is configured:

<nav className="panel">
    <details open>
        <summary className="panel-heading">Forms look good inside collapsible panels</summary>
        <p className="panel-header">
            <div className="panel-block">
                <form>...</.form>
            </div>
        </p>
    </details>
</nav>

The working form is configured:

<nav className="panel">
    <p className="panel-heading">Forms look good inside static panels</p>
    <p className="panel-header">
        <div className="panel-block">
            <form>...</.form>
        </div>
    </p>
</nav>

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