ant-design Typography.Text with ellipsis and copyable trigger both tooltips instead of one

jhiyze9q  于 3个月前  发布在  其他
关注(0)|答案(4)|浏览(40)

Steps to reproduce

  1. define wrapper with a width
  2. add copyable Typography.Text with longer text

What is expected?

when hover on the text tooltip of the text will show
when hover on the copy icon the tooltip of the copy icon will show

What is actually happening?

both the text tooltip and the copy icon tooltip shown when hovering the copy icon

EnvironmentInfo
antd5.16.2
React18
SystemmacOS Sonoma 14.3.1
BrowserChrome
biswetbf

biswetbf2#

still waiting here...

3b6akqbq

3b6akqbq3#

@orelHAnyvision PR is welcome

o3imoua4

o3imoua44#

copyable={{ tooltips: "Change your tooltips here" }}

相关问题