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

    Change q-layout-drawer animation properties

    Framework
    3
    10
    3038
    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.
    • daltomdesigner
      daltomdesigner last edited by

      Hi, I want to change the layout drawer speed and timing, i try this but maybe is not the best:

      .q-layout-animate, .q-layout-transition, .q-layout-drawer-left { transition: all 0.6s ease-in !important; background-color: green !important; }

      q-layout-drawer on v0.15 is slow on mobile, on v0.13 is fast

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

        what kind of mobile device & browser are you using?

        1 Reply Last reply Reply Quote 0
        • daltomdesigner
          daltomdesigner last edited by

          q-layout-drawer on v0.15 is slow on too many devices (example, galaxy note 5 and huawei phones), the performance is not good, i am usign cordova, quasar-play and directly on mobile browser

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

            the next version of quasar will be released soon. it will have some speed improvements for the drawer…

            1 Reply Last reply Reply Quote 1
            • daltomdesigner
              daltomdesigner last edited by

              Good, maybe the performance trouble is on QLayoutDrawer.js

              1 Reply Last reply Reply Quote 0
              • daltomdesigner
                daltomdesigner last edited by daltomdesigner

                I notice that render component (on q-layout-drawer):

                that way is poor performance:
                <q-collapsible group="gldl1" icon="explore" label="Otros"> <q-item to="/g1/item5" item inset-separator disabled> <q-item-side icon="mail" /> <q-item-main label="Ver Base" /> </q-item> <q-item to="/firststart" item inset-separator> <q-item-side icon="looks one" /> <q-item-main label="First Start" /> </q-item> </q-collapsible>

                that way is acceptable performance:
                <div class="q-collapsible q-item-division relative-position"> <div class="q-collapsible-inner"> <div class="q-item q-item-division relative-position q-item-link"> <div class="q-item-side q-item-section q-item-side-left"><i aria-hidden="true" class="q-icon material-icons q-item-icon">explore</i></div> <div class="q-item-main q-item-section"> <div class="q-item-label" style="overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical;">Otros</div> </div> <div class="q-item-side q-item-section q-item-side-right"><i aria-hidden="true" class="q-icon cursor-pointer transition-generic relative-position material-icons q-item-icon">keyboard_arrow_down</i></div> </div> <div style="display: none;"> <div class="q-collapsible-sub-item relative-position"> <div class="q-item q-item-division relative-position q-item-inset-separator q-item-link" item="" disabled="disabled"> <div class="q-item-side q-item-section q-item-side-left"><i aria-hidden="true" class="q-icon material-icons q-item-icon">mail</i></div> <div class="q-item-main q-item-section"> <div class="q-item-label" style="overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical;">Ver Base</div> </div> </div> <div class="q-item q-item-division relative-position q-item-inset-separator q-item-link" item=""> <div class="q-item-side q-item-section q-item-side-left"><i aria-hidden="true" class="q-icon material-icons q-item-icon">looks_one</i></div> <div class="q-item-main q-item-section"> <div class="q-item-label" style="overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical;">First Start</div> </div> </div> </div> </div> </div> </div>

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

                  Butter-smooth drawer in 0.15.7 already. Releasing in less than 24 hours.

                  1 Reply Last reply Reply Quote 1
                  • daltomdesigner
                    daltomdesigner last edited by

                    On 0.15.7~10 is better, thanks, but dragging the drawer (with mobile touch) continues to be slow, on quasar 0.13 is too fast and butter-smooth

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

                      Dragging with mobile touch was exactly what got enhanced. Tested on a low end device. It’s butter smooth now…

                      1 Reply Last reply Reply Quote 0
                      • daltomdesigner
                        daltomdesigner last edited by

                        Yes, when you touch a button for open or close (or touch gray area) the q-drawer is fast on quasar 0.15.7+, but when you make a swipe action from left (to open) or right (to close) is slow. I’m using 7 q-collapsible elements on q-drawer.

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