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

    Hide menu button when drawer is fixed open (desktop view)

    Help
    2
    9
    2192
    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.
    • N
      n.taddei last edited by

      In v0.14 we lost the hide-on-drawer-visible helper class for menu button. How can I hide it now?

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

        Since you can now define your own breakpoint it makes no sense to keep that CSS class.

        So make one yourself, like in the following example where breakpoint is set to 800px:

        @media (min-width 800px)
           .hide-me
              display none
        
        1 Reply Last reply Reply Quote 0
        • rstoenescu
          rstoenescu Admin last edited by

          Please note that the button also works if above breakpoint. You can hide/show the panel at all times.

          1 Reply Last reply Reply Quote 0
          • N
            n.taddei last edited by

            Thank you! I didn’t think to that point… Actually is very simple as you said! 🙂

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

              @n-taddei Care for a PR on layout docs to add this info too? Might be good for others too.

              1 Reply Last reply Reply Quote 0
              • N
                n.taddei last edited by

                @rstoenescu where do I have to do the PR? on quasar-framework repo? Or there is a docs repo instead?

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

                  https://github.com/quasarframework/quasar-framework.org/edit/dev/source/components/layout.md

                  1 Reply Last reply Reply Quote 0
                  • N
                    n.taddei last edited by

                    Done. It’s the first time I’m doing those stuff, so forgive me if I did something unkind. 😲

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

                      Don’t worry. Hit “create PR” or something like this.

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