Opened this issue 2 years ago · 4 comments
byte-guide: 1.0.7 react: 17.0.2
这会导致页面不能滚动
我目前的解决方案:
onClose={() => { document.documentElement.style.overflow = 'auto' }}
看了下源码是realDocument重新赋值了,重新触发了
realDocument
而此时的html上已经添加了overflow: hidden
html
overflow: hidden
有点奇葩,结束后布局都乱了,还有 localKey不应该必填
简直了,这么严重bug,还不解决
还挂个字节的名号,这个组件有点垃圾啊