fix(explore-cards): update scroll view props for horizontal scroll
replace outdated overflow-x-autoshow-scrollbar prop with scroll-x and show-scrollbar="false" to enable proper horizontal scrolling and hide the scrollbar
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="explore-cards">
|
||||
<scroll-view class="explore-scroll" overflow-x-autoshow-scrollbar="false">
|
||||
<scroll-view class="explore-scroll" scroll-x show-scrollbar="false">
|
||||
<view class="explore-track">
|
||||
<view v-for="(item, index) in normalizedList" :key="getItemKey(item, index)" class="explore-card"
|
||||
:class="`is-${item.tone}`" hover-class="is-pressed" hover-stay-time="80"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<scroll-view class="prompt-strip" overflow-x-autoshow-scrollbar="false">
|
||||
<scroll-view class="prompt-strip" scroll-x show-scrollbar="false">
|
||||
<view class="prompt-track">
|
||||
<view v-for="(item, index) in normalizedList" :key="getItemKey(item, index)" class="prompt-card"
|
||||
hover-class="is-pressed" hover-stay-time="80" @tap="handleTap(item.raw, index)">
|
||||
|
||||
Reference in New Issue
Block a user