Skip to content

Support for HTMLDialogElement methods show, showModal and close. #4319

Open
@timothee-haudebourg

Description

@timothee-haudebourg

Feature Request

Currently we can build a dialog element but not control it with the standard (but arguably not stable) HTMLDialogElement methods: show, showModal and close.

We can't either capture the HTMLDialogElement-specific events: close and cancel. The former is already covered by #2962.

Implement Suggestion

I don't know much about dioxus's architecture, but I imagine this could be provided through the MountedData object provided with onmount.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions