-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Gallery][WASM] [Textbox] Unintended Text Selection #1459
Comments
@Youssef1313 @ramezgerges does this look familiar? |
This is actually a duplicate of unoplatform/uno#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.
|
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: |
Its not related to Component switching, but re clicking on the Textbox component and slightly moving the mouse (click and drag) causes the default text to get selected. It seems to be introduced between 5.4.0-dev.198 and 5.4.0-dev.196 SDK versions |
IMO this should be fixed by unoplatform/uno#18921 @Xiaoy312 did you validated it? |
@dr1rrb I tested on master w the latest changes from Xiao, unable to repro this now. (unoplatform/uno#18931) |
@Kunal22shah |
@Xiaoy312 no longer able to repro with your fix. |
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.
Screen.Recording.2024-08-21.at.11.58.54.AM.mov
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 : unoplatform/uno#17633 , unoplatform/uno#17914
The text was updated successfully, but these errors were encountered: