ElemeFE / ElemeFE/element

[Bug Report] When the tree is dragged with a scroll bar, the reference line position is calculated incorrectly

Open
#20,734 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.0

### OS/Browsers version
Mac11.1/Chrome88

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/joel-zh/pen/qBaevZa

### Steps to reproduce
After the vertical scroll bar scrolls down, drag the node.

### What is Expected?
Whether the vertical scroll bar is scrolling or not, it does not affect the dragging reference line.

### What is actually happening?
When the scroll bar is scrolled down, drag the reference line to offset upward, the more you scroll, the greater the offset.

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.