[Bug Report] el-drawer 组件的子组件是使用了 popup mixins(src/utils/popup/index.js) 的组件 lockScroll 失效,导致出现 body 的滚动条。
Open
stale
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Element UI version
2.13.2
### OS/Browsers version
Mac 10.15.3 / Google Chrome Version 86.0.4240.80 (Official Build) (x86_64)
### Vue version
2.6.10
### Reproduction Link
https://github.com/weineel/element/tree/e30e0d5afd5f9377082fdb703c34ae285a413ea5
### Steps to reproduce
1. git clone https://github.com/weineel/element.git
2. yarn && make play
3. 启动后访问 http://0.0.0.0:8085/
4. 点击 Show Main Drawer 按钮打开抽屉
5. 点击 Show 2 右侧将会出现滚动条。
猜测:pupup 的销毁导致了 body 上的 style 被意外清除。
### What is Expected?
点击 Show 2 的时候不出现滚动条。
### What is actually happening?
点击 Show 2 的时候出现了滚动条。
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.