Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ability to handle overlay/close clicks in Dialog component, onBeforeClose #1649

Open
Labels
improvementquestionA question around API, functionality, etc.
@malimccalla

Description

@malimccalla

I am implementing the Dialog component and need to show a "are you sure you want to discard" confirmation message when the user attempts to close the dialog.

Is it possible to run logic before closing the Dialog?

I am able to do this with theonCancel property but it appears it only triggers when the cancel button is clicked not when the modal is closed by clicking the overlay whenshouldCloseOnOverlayClick is set to true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementquestionA question around API, functionality, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp