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

    [V1] Drawer with overlay=true sets v-model back to false on page load?

    Framework
    3
    5
    276
    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.
    • C
      crazymind last edited by crazymind

      Is there a reason for this, or is this a bug?

      1 Reply Last reply Reply Quote 0
      • M
        Max last edited by

        can you create a codepen with your issue? https://codepen.io/rstoenescu/pen/VgQbdx

        1 Reply Last reply Reply Quote 0
        • rstoenescu
          rstoenescu Admin last edited by

          Overlay means “on top of the page”, so it may hide stuff. By design, overlay is set to false on page load because of this reason (and some other).

          1 Reply Last reply Reply Quote 0
          • C
            crazymind last edited by

            Here you go:
            https://codepen.io/temo-sayin/pen/MRXGRJ

            Even if you set overlay=false, it’s not possible to show a drawer on page load. Am I doing something wrong?

            Btw: I felt in love with Quasar. The framework, the documentation and community is just unbelievabe good – big respect!

            1 Reply Last reply Reply Quote 0
            • rstoenescu
              rstoenescu Admin last edited by

              data () {
                return { naviIsOpen: false, ... }
              },
              mounted () {
                this.$nextTick(() => { this.naviIsOpen = true })
              }
              
              1 Reply Last reply Reply Quote 0
              • First post
                Last post