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

Default button press no longer triggered on input submit #16655

Closed
kerams opened this issue Aug 10, 2024 · 4 comments · Fixed by #16666
Closed

Default button press no longer triggered on input submit #16655

kerams opened this issue Aug 10, 2024 · 4 comments · Fixed by #16666

Comments

@kerams
Copy link
Contributor

kerams commented Aug 10, 2024

Describe the bug

Using the submit button on a software keyboard on Android no longer triggers a press of a default button.

To Reproduce

Using 11.2.999-cibuild0050849-alpha

  • <StackPanel>
      <TextBox></TextBox>
      <Button x:Name="btn" IsDefault="true"></Button>
    </StackPanel>
  • Attach a Click handler to the button.
  • Run, click the textbox, press submit.
  • Observe that the handler is not called.

Repeat with 11.2.999-cibuild0049087-alpha and notice the handler is called.

Expected behavior

No response

Avalonia version

11.2.999-cibuild0050849-alpha

OS

Android

Additional context

No response

@kerams kerams added the bug label Aug 10, 2024
@timunie
Copy link
Contributor

timunie commented Aug 11, 2024

No longer means it worked before? If so, which version was the last one working? That way we may find the difference quicker.

@kerams
Copy link
Contributor Author

kerams commented Aug 11, 2024

It worked about a month ago. Version info is included above.

@MrJul
Copy link
Member

MrJul commented Aug 11, 2024

The culprit is most likely #16490, pinging @emmauss for confirmation.

@emmauss
Copy link
Contributor

emmauss commented Aug 12, 2024

Could you test with #16666

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

Successfully merging a pull request may close this issue.

4 participants