Comments (6)
是说滚动包装那个地方,其实包装tab那里没有效果,滚动的是月计划周计划那个tab嘛?
from varlet.
可以尝试在内层 tabs 加入 .stop 阻止 touch 事件冒泡。
from varlet.
是说滚动包装那个地方,其实包装tab那里没有效果,滚动的是月计划周计划那个tab嘛?
一个页面用了两个tabs选项卡,一个是(父组件)月计划周计划,一个是(子组件)包装N组。子组件的包装N组的tab数量超出可以横向滚动选择,但是横向滑动只能滑动父组件的左右切换月计划周计划的内容页
from varlet.
.stop
请问是可以在标签内加么?
from varlet.
目前只能 在(父组件)月计划周计划的TabsItems Props里面设置can-swipe | 是否允许滑动切换 为false
from varlet.
<var-tabs @touchmove.stop v-model:active="category">
<var-tab :name="i.id" v-for="i in categories?.data ?? []" :key="i.id">{{ i.name }}</var-tab>
</var-tabs>
from varlet.
Related Issues (20)
- (Switch): Add new appearance
- ImagePreview 在electron中无法调用 HOT 1
- Tooltip 组件的teleport属性有示例可以参考吗 HOT 18
- var-list var-cell 中加入图片组件后,无法引用item中的元素 HOT 1
- var-checkbox从父组件修改modelValue时同时也触发@update:modelValue HOT 1
- table not work HOT 7
- 为什么在v-show状态下,input框的placeholder消失了? HOT 6
- [Feat] 文本域增加字数统计的cssvar。
- 官方文档非常卡顿 HOT 3
- 希望有一个AutoComplete 组件 HOT 2
- time-picker PC下无法使用 HOT 1
- 是否有docs右侧演示部分的源代码 HOT 2
- [Feature]: add OTP input component
- pnpm run dev 报错哎,什么原因呢 HOT 1
- form组件内嵌space组件,space和其中的内容不渲染 HOT 6
- 是否能给appBar添加固定在顶部的api HOT 5
- 为什么相邻的input 的底部边框粗细不一样 HOT 2
- 能不能整个离线文档,文档时不时打不开 HOT 1
- 关于 Gitee Pages 文档站点访问不了的问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from varlet.