The tooltip cannot be displayed in the correct location #8148
Labels
area-Popup
bug
Something isn't working
no-issue-activity
product-winui3
WinUI 3 issues
team-Rendering
Issue for the Rendering team
Describe the bug
当工具提示设置placement属性为mouse时,本来位置是在鼠标指针的右下角,但是如果鼠标指针距离有窗口边界过近时,工具提示就不能显示在正确的位置了,请立即修复。
When the tooltip sets the placement property to mouse, the original position is in the lower right corner of the mouse pointer, but if the mouse pointer is too close to the window boundary, the tooltip cannot be displayed in the correct position, please fix it immediately.
When the window is not maximized, the tooltip display is blocked by the window boundary, and when the window is maximized, the tooltip is displayed in another location
Steps to reproduce the bug
When the window is not maximized, the tooltip display is blocked by the window boundary, and when the window is maximized, the tooltip is displayed in another location
Code
![EMS)ZQFMJDP5}~ $ AM3PHE](https://user-images.githubusercontent.com/49179966/215938782-ae2f80b1-f131-4285-a837-e4e508e50615.png)
Window maximization cases
![5H8U4RIB{HI4SL )@2%W7](https://user-images.githubusercontent.com/49179966/215938840-68d582ed-798f-4afb-ac7f-d3f9c3de622b.png)
Expected behavior
The tooltip should appear at the bottom right of the mouse
Screenshots
No response
NuGet package version
Windows App SDK 1.2.3: 1.2.230118.102
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: