[Enhancement] [tree-select] tree-select expose popperRef attribute #16238
hellomrbigshot
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature type:
Enhancement
Details
tree-select
Description
I need to use
popperRef
attribute ofel-tree-select
.I write a popover component which is like
el-popover
. Then I add ael-tree-select
component in it. I useClickOutside
to get when the component is clicked. But I can't get thepopperRef
attrite ofel-tree-select
,so when I click the option outside the popper, the popper closed.I also use
el-select
component in my popover, it exposespopperRef
(calledpopperPaneRef
before element-plus@2.5.0),so it works for me.My demo looks like below link shows. But I use
el-popover
to replace my own popover.demo
popover + tree-select
Additional comments
(empty)
1 vote ·
Beta Was this translation helpful? Give feedback.
All reactions