ElemeFE / ElemeFE/element

[Bug Report] After viewing the example code, select Hide code, and the page height has moved

Open
#22,673 0 comments 0 reactions 0 assignees View on GitHub
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;

![element_ui_issue](https://github.com/ElemeFE/element/assets/109081989/5d12afbc-9107-4512-86e5-b23d91566734)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.