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 doesn't read getPopupContainer from the configProvider #5636

Closed
1 task done
mrakjos opened this issue May 23, 2022 · 3 comments
Closed
1 task done

Tooltip doesn't read getPopupContainer from the configProvider #5636

mrakjos opened this issue May 23, 2022 · 3 comments

Comments

@mrakjos
Copy link

mrakjos commented May 23, 2022

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

Version

3.2.4

Environment

MacOS Safari, Chrome, Win Edge, Vue3

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  • Hover with mouse sorted columns in the table for displaying a tooltip
  • or hover the text "Tooltip will show when mouse enter."

What is expected?

  • All tooltips show text with red text

What is actually happening?

  • Tootip in the table doesn't show a text with red color
  • Simple tooltip does not show text with red color for the first text "Tooltip will show when mouse enter."
  • Only tooltip for the second text "Tooltip will show when mouse enter." show text in red (it reads getPopupContainer directly)

Custom filter dropdown works correctly in the table - it has a red text in the input

@peritot
Copy link
Contributor

peritot commented Dec 14, 2022

当设置全局 getPopupContainer 到父节点后,某些组件的内置 Tooltip 都会渲染到其父节点(比如表格排序表头的 Tooltip),会出现样式问题,请问如何处理?
image

getPopupContainer 函数参数对外提供判断节点类型的方法,是开发者能自行处理 Tooltip 类型的渲染节点?

@peritot
Copy link
Contributor

peritot commented Dec 14, 2022

@tangjinzhou 望回复,谢谢!

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants