can't open a modal immediately after closing another?

  • I have a modal, inside of which I have a link that calls a method to close the existing modal and open another:

    <a @click="openBugcloseHelp()">Feedback and app info</a>

    The method looks like this:

    openBugcloseHelp () {

    I can get one or the other of these commands to fire, but not both.

  • I can get it to work like this, but this seems like a hack:

    openBugcloseHelp () {
          var self = this
          setTimeout(function () { self.$ }, 200)

  • Admin

    this.$refs.helpModal.close(() => {

    Use the handler for close() method.

Log in to reply