No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Dialog in BEX Popup

    Help
    bex dialog
    2
    2
    313
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FIN4LSHAR3 last edited by

      Hello,

      I’m trying to get a dialog window in my BEX to work (type popup).
      I implemented the following code which is initiated by a button:

          deleteDialog (key) {
            this.$q.dialog({
              title: 'Confirm',
              message: 'Are you sure?',
              persistent: true,
              cancel: true,
            }).onOk(() => {
              this.deleteProxy(key)
            })
          }
      

      However, whenever the dialog fires the popup window where the BEX is displayed disappears/gets resized to something like 10x10px. The only way I got the dialog to work is by setting the ‘seamless’ prop to true, which isn’t really a good workaround tbh. I tested this on Chrome and FF, both gave similar results. I presume this is related to the auto-resizing-to-content nature of the BEX popup, but I don’t know how to prevent this.

      Is there anything I can do to fix this?

      Thanks!

      dobbel 1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel @FIN4LSHAR3 last edited by

        @fin4lshar3

        You can change the style of of QDialog with the content-class and content-style properties , see:

        https://quasar.dev/vue-components/dialog#QDialog-API

        1 Reply Last reply Reply Quote 0
        • First post
          Last post