Skip to content

[bug report] too many calculations in the cascaded form cause the scrolling to get stuck #21223

@AzronChan

Description

@AzronChan

Element UI version

2.15.5

OS/Browsers version

window10/node 14

Vue version

2.6.14

Reproduction Link

https://codepen.io/pen/?&prefill_data_id=78731dc4-107d-4c29-9ef3-6286d71da51f

Steps to reproduce

级联元素插入到body时,就开始监听页面滚动,设置位置,导致页面卡顿

What is Expected?

级联不展示时,不应该计算级联位置

What is actually happening?

级联不展示时,计算级联位置,导致页面滚动卡顿

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions