Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip can not be triggered by Badge. #10626

Closed
1 task done
imakou opened this issue May 22, 2018 · 0 comments
Closed
1 task done

Tooltip can not be triggered by Badge. #10626

imakou opened this issue May 22, 2018 · 0 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@imakou
Copy link

imakou commented May 22, 2018

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

Version

3.5.2

Environment

Node 8.9.1 / React 16.2

Reproduction link

https://codepen.io/anon/pen/OZqqVR?editors=001

Steps to reproduce

<Tooltip placement="top" title="Fix the error">
   <Badge status="error" />
</Tooltip>

What is expected?

The Tooltip should be triggered.

What is actually happening?

The Tooltip is not triggered by Badge but Icon

@afc163 afc163 self-assigned this May 23, 2018
@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label May 23, 2018
@afc163 afc163 closed this as completed in 8da79f4 May 23, 2018
bors bot added a commit to mozilla/delivery-console that referenced this issue May 28, 2018
167: Update dependency antd to v3.5.4 r=rehandalal a=renovate[bot]

This Pull Request updates dependency [antd](https://github.com/ant-design/ant-design) from `v3.5.3` to `v3.5.4`



<details>
<summary>Release Notes</summary>

### [`v3.5.4`](https://github.com/ant-design/ant-design/releases/3.5.4)
[Compare Source](ant-design/ant-design@3.5.3...3.5.4)
- 🐞 Fix `showSearch` on `Cascader` not working.[968488a2](ant-design/ant-design@968488a)
- 🐞 `Badge` support `Tooltip`.[#&#8203;10626](`ant-design/ant-design#10626)
- 🐞 Fix `text-align` on parent element affects `Spin`.[#&#8203;10643](`ant-design/ant-design#10643) [@&#8203;wmzhong]
- 💄 `Table` break line style change from `break-all` to `break-word`.[#&#8203;10655](`ant-design/ant-design#10655) [@&#8203;clinyong]
- 🌟 When `Search` not define `enterButton`, click search icon will trigger `onSearch`. [36ffe7e1](ant-design/ant-design@36ffe7e)


---


- 🐞 修复 `Cascader` 的 `showSearch` 无效问题。[968488a2](ant-design/ant-design@968488a)
- 🐞 使 `Badge` 支持 `Tooltip`。[#&#8203;10626](`ant-design/ant-design#10626)
- 🐞 修复父元素使用 `text-align` 会影响 `Spin` 的问题。[#&#8203;10643](`ant-design/ant-design#10643) [@&#8203;wmzhong]
- 💄 `Table` 换行从 `break-all` 改为 `break-word`。[#&#8203;10655](`ant-design/ant-design#10655) [@&#8203;clinyong]
- 🌟 `Search` 在未定义 `enterButton` 时,点击搜索图标将触发 `onSearch`。 [36ffe7e1](ant-design/ant-design@36ffe7e)

---

</details>




---

This PR has been generated by [Renovate Bot](https://renovatebot.com).

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants