[Bug Report] After viewing the example code, select Hide code, and the page height has moved
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Element UI version
2.15.14
### OS/Browsers version
win10/360极速浏览器 13.5.2044.0
### Vue version
2.7.14
### Reproduction Link
https://github.com/ElemeFE/element
### Steps to reproduce
1.Open the document in your browser;
2.Show the example code and scroll through it;
3.Select hide code
### What is Expected?
After scrolling through the example code, choose to hide the code, and the page remains at the page height before expanding the example code.
### What is actually happening?
When you choose to hide the example code in the document, the page will not remain at the page height where the example code is expanded, but will scroll down to the height where the example code is scrolled;

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.