We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87f044d commit 0c84db1Copy full SHA for 0c84db1
src/packages/__VUE/dialog/doc.taro.md
@@ -107,6 +107,30 @@ const verticalClick = () => {
107
108
:::
109
110
+### lock-scroll
111
+
112
+`lock-scroll` 属性,锁定背景,禁止滚动穿透,默认值为 `true`。
113
114
+```vue
115
+<template>
116
+ <nut-dialog>
117
+ <view>在该内容区域溢出时,无法滑动</view>
118
+ </nut-dialog>
119
+</template>
120
+```
121
122
+如果需要内容支持溢出滚动,则需要包裹一层 `scroll-view` 组件。
123
124
125
126
127
+ <scroll-view>
128
+ <view>在该内容溢出时,则可以正常滑动</view>
129
+ </scroll-view>
130
131
132
133
134
## API
135
136
### Props
0 commit comments