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

    Using QVirtualScroll with a full height

    Help
    2
    2
    150
    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
      josephd last edited by

      I’m trying to use QVirtualScroll but all of the examples provided are with a fixed height, and this seems to be the only way to get it to work.

      For example, please see https://codepen.io/josephd/pen/RwrEOWK

      I have tried to change the max-height: 300px; into many other things including max-height: 100vh; and max-height: 100%; – I have also tried max-height: calc(100vh - 50px); but none of these seem to give the desired result which is to have the QVirtualScroll filling the main page area.

      Can anyone tell me what I am doing wrong? Or perhaps I need to be looking at a different way of achieving what I want?

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

        looks fine using max-height:100vh on my phone.

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