scroll-in-modal@1.0.1 vulnerabilities

在开发 H5 页面弹窗时,默认在滑动弹窗,底下的 body 也会滚动。这种情况,只要把包括弹窗的父元素禁用 touchmove 事件即可。 但假如弹窗里也有内容需要滚动,禁用父元素的 touchmove 事件会导致弹窗内的内容也无法滚动。 scroll-in-modal 就是解决 H5 端下弹窗内部滚动,不影响 body 滚动。

Latest version

1.0.1

First published

2 years ago

Latest version published

2 years ago

Licenses detected

  • license: ISC >=0

No known vulnerabilities have been found for this package in Snyk's vulnerability database.