-
Notifications
You must be signed in to change notification settings - Fork 73
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
TextBox text selection/copy doesn't work #376
Comments
I'll take a look. |
Seems like Material textbox behaves as default Fluent one. Here is the demo: video_2024-05-11_20-00-03.mp4I've also doesn't see any drag handles from avalonia. May be I'm missing something? Can you share the sample app with proper avalonia's TextBox behavior? |
I've attached two screenshots that show the difference between Material and Fluent (the theme being the only difference between the projects) I've also attached the test project. |
Oh, probably the 11.1.0-beta2 is the reason. I'll take a look. |
Seems like this is exclusive 11.1.0-beta feature and wasn't accessible within 11.0.*. |
That would certainly be welcome as we do need the beta branch features and I get the impression the beta will be moving into general release very soon |
Any movement on this? 11.1.0 is in rc1 now, but even a nightly build with the new stuff would be welcome at this point |
Currently I don't have time for this, sorry. Probably this weekend I'll do it. Also, I've already looked at Avalonia updates, perhaps you can copy-paste the new control style and make it work this way, until the update from my side. P. S. PRs also highly appreciated. |
Usage Information
3.6.0
Description
Trying to select text within a TextBox doesn't work properly on Android/iOS. Tapping and holding brings up a Cut, Copy, Paste and Select All context menu, but cut and copy remain disabled with no ability to select the text, except Select All which then hides the context menu, making it pretty useless.
This isn't a problem when using the default FluentTheme so something in here seems to be overriding and breaking the behaviour
Reproduction Steps
Attempt to select TextBox with text using usual tap/hold/drag. Observe doesn't select, with aforementioned broken context menu. Drag handles from base Avalonia/FluentTheme do not appear
Expected Behavior
I should be able to select text in a TextBox to copy
Actual Behavior
See description
Regression?
No response
Known Workarounds
No response
Anything else?
No response
Could you help with a pull-request?
No
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: