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

NumericUpDown bugs #16432

Open
kerams opened this issue Jul 23, 2024 · 3 comments
Open

NumericUpDown bugs #16432

kerams opened this issue Jul 23, 2024 · 3 comments
Labels

Comments

@kerams
Copy link

kerams commented Jul 23, 2024

Describe the bug

  1. Starting to drag on a NumericUpDown in order to scroll brings up the software keyboard.
  2. Clicking button spinners between different instances of NumericUpDown brings up the software keyboard for a split second.
  3. A feature request if I may - a property to completely disable the software keyboard and have the user only make use of button spinners.

To Reproduce

Add a bunch of NumericUpDown in a StackPanel in a ScrollViewer.

Expected behavior

No response

Avalonia version

11.2.999-cibuild0049782-alpha

OS

Android

Additional context

qemu-system-x86_64_IkBYbFuQKa.mp4
@kerams kerams added the bug label Jul 23, 2024
@maxkatz6
Copy link
Member

A feature request if I may - a property to completely disable the software keyboard and have the user only make use of button spinners.

Haven't tried it, but you can try to disable inner text box:

<Style Selector="NumericUpDown /template/ TextBox">
    <Setter Property="IsEnabled" Value="False" />
</Style>

@kerams
Copy link
Author

kerams commented Aug 25, 2024

That does work, but it introduces a different minor issue. When a spinner is pressed, the number is highlighted and stays so regardless of moving focus elsewhere.

@kerams
Copy link
Author

kerams commented Sep 2, 2024

Dragging a TextBox also results in the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants