element Popper: Invalid window object when detached to a new window

soat7uwm  于 5个月前  发布在  其他
关注(0)|答案(1)|浏览(49)

Element UI version

2.13.0

OS/Browsers version

Linux / Google Chrome / 79.0.3945.88 (Official Build) (64-bit)

Vue version

2.6.10

https://jsfiddle.net/1z39ayLb/15/

Steps to reproduce

Click on the 'open' button, look inside the javascript console for the error.

What is Expected?

The el-cascader should use the element.ownerDocument.defaultView as window object to query the computed style.

What is actually happening?

It uses a global root object initialized to the global window object thus the DOM element doesn't belong to the appropriate window and it doesn't work.

daupos2t

daupos2t1#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题