@jsk-style/scss
v0.0.15
Published
github: https://github.com/jsk-repo/jsk-style demo: https://jsk-repo.github.io/scss-demo.github.io
Downloads
19
Readme
github: https://github.com/jsk-repo/jsk-style demo: https://jsk-repo.github.io/scss-demo.github.io
全局滚动下比较好的弹层方案
- pc web 环境下, 当弹层变化时调用 js 函数
recordScrolled和resetScrolled - h5/webview 环境下
- 设置需要递归填充的根元素, 如:
$default-scroll-overflow: ('#app') - 如有需要设置
$default-app-container默认选择器body - 如有需要设置
$default-scroll-lock默认.lock, 当弹层变化时变更className到$default-app-container - 弹层中的滚动元素需要设置
@include scroll(column unlock)
- 设置需要递归填充的根元素, 如:
TODOLIST
- h5/webview: 弹层中如果有 input 则滚动锁定失效
- pc - h5/webview 响应式方案
