Skip to content

Preventing multiple modals opening at the same time #810

Description

@mhjb

Hi team

I have a button whose @click event is attached to a function that does some work, then runs this.$modal.show(…). I want to prevent multiple clicks resulting in multiple modals. I am looking for something like if (this.$modal.isVisible) …, but can't find anything like that. Any ideas?

Thank you
Matthew

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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