HandyControl icon indicating copy to clipboard operation
HandyControl copied to clipboard

鼠标悬停在带 ShowClearButton 的 TextBox 的边缘时发生闪烁

Open CodingOctocat opened this issue 8 months ago • 3 comments

Describe the bug

移动鼠标指针到 hc:TextBox 的边缘(靠近 Clear 按钮处),发现 ClearButton 快速闪烁。 这个问题有些控件可以通过设置 UseLayoutRounding=False 来解决,但是这个方法对 hc:TextBox 无效。

动画

更新

我发现官方 Demo 也会有这个问题。

动画2

Steps to reproduce the bug

<hc:TextBox hc:InfoElement.ShowClearButton="True" Text="1234567890"/>

Expected behavior

No response

Screenshots

No response

NuGet package version

HandyControl 3.4.0

IDE

Visual Studio 2022

Framework type

.Net 6.0

Windows version

Windows 11 (22000)

Additional context

No response

CodingOctocat avatar Nov 14 '23 08:11 CodingOctocat