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

    Horizontal virtual scroll inside virtual scroll doesn't works fine

    Help
    1
    1
    209
    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.
    • A
      aeiosapp last edited by

      Describe the bug
      I’m trying to make a vertical list of rows, where each row is horizontal list.
      So I configured a vertical virtual scroll with :key=“idx” and put inside a horizontal virtual scroll with :key=“idy”.

      I have a double array of items heavySubCats[a][b].
      When I try to set items for horizontal list :items=“heavySubCats[idx]” (where idx is a key of a vertical list) - it doesn’t work, but if I’ll set a constant instead of the index :items=“heavySubCats[2]” - it works.

      Codepen/jsFiddle/Codesandbox (required)
      https://jsfiddle.net/antonsvens/sfvkmbc5/9/

      To Reproduce
      Steps to reproduce the behavior:

      Go to the jsfiddle link above, run - you will only see vertcal list titles
      In the HTML tab, line #28 replace
      :items=“heavyItems[idx]”
      with
      :items=“heavyItems[3]”
      or any other number instead of idx, run - you will see horizontal scroll list in each row

      Expected behavior
      I need to pass index of the row of vertical list to the horizontal list

      Guys, any ideas?

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