Skip to content
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

TextPresenter Selection handle should have platform specific behavior on mobile #16132

Open
maxkatz6 opened this issue Jun 26, 2024 · 0 comments
Labels
enhancement help-wanted A contribution from the community would be most welcome. os-android os-ios

Comments

@maxkatz6
Copy link
Member

Is your feature request related to a problem? Please describe.

In current master selection handle only appears when text box is focused and it's not empty.
While matching iOS behavior, it is different from the Android, where even empty field will show selection handle, but only on second tap/click.

Stable 11.1 have yet another behavior, where selection handle is opened immediately on focus.

Describe the solution you'd like

Avalonia should support both scenarios, potentially configured by the platform via IPlatformSettings.

Describe alternatives you've considered

No response

Additional context

See #15770 PR for more details.

@maxkatz6 maxkatz6 added enhancement os-ios os-android help-wanted A contribution from the community would be most welcome. labels Jun 26, 2024
@maxkatz6 maxkatz6 changed the title Selection handle should have platform specific behavior on mobile TextPresenter Selection handle should have platform specific behavior on mobile Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help-wanted A contribution from the community would be most welcome. os-android os-ios
Projects
None yet
Development

No branches or pull requests

1 participant