Open jhanvi03 opened 2 months ago
@Youssef1313 @ramezgerges does this look familiar?
This is actually a duplicate of https://github.com/unoplatform/uno/issues/13440. The repro is not component switching, but double clicking. I suspect @jhanvi03 mistakenly double clicked on the "TextBox" item while switching between components.
@jhanvi03 can you double check this and maybe sync with @ramezgerges / @MartinZikmund to see if this is perhaps related to the double-click issue?
Tested using mouse pad and mouse, occasionally I am able to reproduce with single click. Also, with double click on component, the entire section is getting selected. Version:
Package | Referenced version | Updated version |
---|---|---|
Uno.Core.Extensions.Compatibility | 4.0.1 | 4.1.1 |
Uno.Core.Extensions.Disposables | 4.0.1 | 4.1.1 |
Uno.Sdk | 5.3.96 | 5.4.0-dev.236 |
Using the latest Canary version, I encountered the same issue when I navigated to Menu -> Community Toolkit -> DataGrid. Upon a single click, the data was selected unexpectedly.
Versions: Package Referenced version Updated version Uno.CommunityToolkit.WinUI.UI.Controls 7.1.200 7.1.203 Uno.CommunityToolkit.WinUI.UI.Controls.DataGrid 7.1.200 7.1.203 Uno.Core.Extensions.Compatibility 4.0.1 4.1.1 Uno.Core.Extensions.Disposables 4.0.1 4.1.1 Uno.Sdk 5.3.96 5.6.0-dev.16
Current behavior
When switching from one component to another via the side menu and then returning to a textbox, the text within the textbox is occasionally pre-selected.
https://github.com/user-attachments/assets/f3ffa846-f580-45dc-9322-d63173b1c8bc
Expected behavior
When returning to the textbox after navigating between components, the text should remain unselected
How to reproduce it (as minimally and precisely as possible)
Environment
Nuget Package:
Package Version(s):
Affected platform(s):
Anything else we need to know?
Could be related to : https://github.com/unoplatform/uno/pull/17633 , https://github.com/unoplatform/uno/issues/17914