arco-design-vue icon indicating copy to clipboard operation
arco-design-vue copied to clipboard

TreeSelect Component header slot set a input element can be edited (TreeSelect组件 header插槽如果放一个input元素无法被触发或是输入任何内容)

Open Xugen-Ma opened this issue 1 year ago • 2 comments
trafficstars

Basic Info

  • Package Name And Version: @arco-design/[email protected]
  • Framework version: 3.2.0
  • Browser: chrome129.0.0.0
  • Reproduction Link: https://codesandbox.io/p/sandbox/gallant-rain-2zy45d?file=%2Fsrc%2FApp.vue

What is expected?

the input element can be focused and input something 应当能够聚焦并输入内容

Steps to reproduce

click input can input content 点击树选择浮层上的Input框

Xugen-Ma avatar Oct 16 '24 09:10 Xugen-Ma

我修改了下demo,可以看到demo中最外层元素中的input元素可以被访问,header插槽中的checkbox也可以被选中,只有插槽中的input无法正常使用。

Xugen-Ma avatar Oct 16 '24 09:10 Xugen-Ma

Steps to reproduce

click TreeSelect popover layer, click input element

Xugen-Ma avatar Oct 16 '24 09:10 Xugen-Ma