Why the sticky layout of tab tabs in vant-ui cannot be used by scroll

Code:

  <van-tabs v-model="active"  scroll="{scrollTop:146px,isFixed:true}">
    <van-tab v-for="index in 4" :title="" " + index">
      <div style="height:15rem;"> {{ index }}</div>
    </van-tab>
  </van-tabs>
      

document:
scroll triggered when scrolling, effective only in sticky mode {scrollTop: distance from top position, isFixed: whether to suck top}

Jul.18,2022

sticky to true


scroll official documentation describes this as a method, not an attribute
@ scroll = "" binding event. Callback function returns {scrollTop: distance to the top, isFixed: whether to absorb the top}


Hello, have you solved


first of all, take a look at the official document, this is an event ide" alt=".png" title=".png">
.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e88d64-f0e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e88d64-f0e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?