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

    q-scroll-area dosen't work for horizontal

    Help
    7
    8
    3317
    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.
    • S
      Sujan Dev last edited by Sujan Dev

      hi,
      I want to scroll list of card in a div horizontally. by default q-scroll-area works for vertical scrolling. what can i do ? is there any better way ?

      attached image is exactly what i want to do (on swipe it scroll to right )

      0_1506256820620_Untitled.png

      my code:

      <div class=“row full-width”>

          <q-scroll-area style="width: 1400px; height: 200px;" >
            
              <q-card inline v-for="n in 10"  :key="n">
                <q-card-title>
                  Title
                  <span slot="subtitle">Subtitle</span>
                </q-card-title>
                <q-card-main>
                  {{lorem}}
                </q-card-main>
              </q-card>
            
          </q-scroll-area>
      

      </div>

      </div>

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

        It’s only meant to work for vertical scrolling. Horizontal will get enhanced in a later update.

        S 1 Reply Last reply Reply Quote 0
        • S
          Sujan Dev @rstoenescu last edited by Sujan Dev

          @rstoenescu thanks for the reply. waiting for the update .

          1 Reply Last reply Reply Quote 0
          • S
            sarah last edited by sarah

            It seems to be enhanced on v0.17.0. (https://github.com/quasarframework/quasar/issues/2163)
            But the document didnt update. (https://quasar-framework.org/components/scroll-area.html)
            Still not sure how to use it.
            Is all i need to do is add width on q-scroll-area tag?

            1 Reply Last reply Reply Quote 0
            • T
              tandrew last edited by

              +1 regarding the documentation of this feature. I would like to use it.

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

                when we can download this scroll area horizontal update?.. im excited! 😛

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

                  It was implemented sometime ago, but there isn’t an example out there.

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

                    Check out vue-dragscroll - https://donmbelembe.github.io/vue-dragscroll/

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