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

The tooltip fails to adjust its placement to the top right when the target is positioned at the bottom right of the screen.

Open karachungen opened this issue 1 year ago • 0 comments
trafficstars

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

Version

4.1.0

Environment

Chrome Version 115.0.5790.170, Vue 3.4.10

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Go to minimal reproduction link
  2. Hover on the title text on bottom right side of the screen

What is expected?

The tooltip placement should automatically be changed to topRight.

What is actually happening?

The tooltip is glitchy. Its placement doesn't change; as a result, the tooltip increases the body width for a moment and then disappears.

karachungen avatar Jan 12 '24 13:01 karachungen