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

    Smoother scrolling

    Help
    3
    8
    2446
    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.
    • J
      jonafrank last edited by

      I have noticed that scrolling in the application is very jerky.
      Any tips / pointers as to how to get a smoother scrolling experience ?
      I dont want to fall back and use jQuery for the same . Any hacks to get a smoother scrolling experience would be appriciated.

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

        @jonafrank what app are you talking about? Quasar Play? And what pages are you talking about? Also, what mobile platform?

        1 Reply Last reply Reply Quote 0
        • J
          jonafrank last edited by

          @rstoenescu It’s with respect to the application i am developing … I havent wrapped it in a cordova platform yet.
          The problem occurs only when i am scrolling any lists in the application through safari(iphone) and chrome(android). There seems to be a jerk in the scroll regardless of the page size.

          I am asking for a general solution like jQuery provides smoothscroll . Any tweaks that can be made / code snippet that can be applied to any/all scrollable components, so that it makes it jerk free and smooth is what i am looking for .

          I can probably attach a gif , to show the jerks

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

            Yes, please attach the gif. Thanks!

            1 Reply Last reply Reply Quote 0
            • J
              jonafrank last edited by

              Ah fixed it , @rstoenescu
              -webkit-overflow-scrolling: touch;
              This had to be given in order to fix the jitter… It flows like butter once this was given 🙂 thanks … Should be useful for anyone who faces a similar issue

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

                @jonafrank That’s supplied by Quasar through .scroll and .layout-view CSS classes. For layouts, it meant you were not using the latter… please check /templates/layout.vue 😉

                1 Reply Last reply Reply Quote 0
                • A
                  anandtripathi last edited by

                  @jonafrank where did you put -webkit-overflow-scrolling: touch; and @rstoenescu layout-view is not making any difference. I check with the inspect view there is no class with the name .layout-view present

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

                    @anandtripathi You’re aware that you are commenting on a 4 year old thread, meant for a very old Quasar (v0.x).

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