Skip to content

Default button press no longer triggered on input submit #16655

Closed
@kerams

Description

@kerams

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions