idux icon indicating copy to clipboard operation
idux copied to clipboard

[comp:tooltip] 当popover内是禁用的button时无法展示提示

Open brenner8023 opened this issue 3 years ago • 3 comments

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

复现链接

Steps to reproduce

<IxPopover header="Title" content="test">
      <span>
      	<IxButton :disabled="true">Hover</IxButton>
      </span>
    </IxPopover>

What is expected?

期望有配置的提示

What is actually happening?

没有提示

Environment Info

[email protected], [email protected]

brenner8023 avatar May 14 '22 09:05 brenner8023

Translation of this issue:

[Comp: Tooltip] It cannot be displayed when there is a disabled button in the Popover

  • [X] I have searched the [issues] (https://github.com/iduxfe/idux/isSues) of this repository that this is not a duplicate.

REPRODUCTION LINK

[复现链接](https://brenner8023.github.io/idux-playground/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8ZGl2IHN0eWxlPVwicGFkZGluZzogMjBweCAxMDBweDtcIj5cbiAgICA8SXhQb3BvdmVyIGhlYWRlcj1cIlRpdGxlXCIgY29udGVudD1cInRlc3RcIj5cbiAgICAgIDxzcGFuPlxuICAgICAgXHQ8SXhCdXR0b24gOmRpc2FibGVkPVwidHJ1ZVwiPkhvdmVyPC9JeEJ1dHRvbj5cbiAgICAgIDwvc3Bhbj5cbiAgICA8L0l4UG9wb3Zlcj5cbiAgPC9kaXY XG48L3RlbXBsYXRlPlxuXG48c2NyaXB0IHNldHVwIGxhbmc9XCJ0c1wiPlxuaW1wb3J0IHsgc2V0dXBJZHV4IH0gZnJvbSAnLi9zZXR1cElkdXguanMnXG5pbXBvcnQgeyByZWYgfSBmcm9tICd2dWUnXG5cbmNvbnN0IHZhbHVlID0gcmVmKCcyMDA4Jylcblxuc2V0dXBJZHV4KCkgLy8gZG9uJ3QgcmVtb3ZlXG48L3NjcmlwdD4iLCJpbXBvcnQtbWFwLmpzb24iOiJ7XG4gIFwiaW1wb3J0c1wiOiB7XG4gICAgXCJ2dWVcIjogXCIuL3Z1ZS5lc20tYnJvd3Nlci5qc1wiLFxuICAgIFwiaWR1eFwiOiBcIi4vaWR1eC5qc1wiXG4gIH1cbn0ifQ==)

STEPS To Reproduce

<IxPopover header="Title" content="test">
      <span>
      	<IxButton :disabled="true">Hover</IxButton>
      </span>
    </IxPopover>

What is exfected?

Hope that there is a configuration prompt

What is actually happy?

No prompt

ENVIRONMENT Info

[email protected], [email protected]

idux-bot[bot] avatar May 14 '22 09:05 idux-bot[bot]

popver使用嵌套的时候,外层是click打开,内层是hover打开,点击的时候,外层popver打开失败,但是在中间加一个元素可以,复现链接

brenner8023 avatar May 14 '22 09:05 brenner8023

在文档里加个 FAQ 说明一下?

danranVm avatar May 23 '22 03:05 danranVm