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

[Android .Net 9.0] Maui Hybrid input onkeydown not working anymore #25996

Open
lommez opened this issue Nov 20, 2024 · 2 comments
Open

[Android .Net 9.0] Maui Hybrid input onkeydown not working anymore #25996

lommez opened this issue Nov 20, 2024 · 2 comments
Labels
platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working

Comments

@lommez
Copy link

lommez commented Nov 20, 2024

Description

Before updating from .Net 8.0 to .Net 9.0 this code below was working perfectly:

        <input type="text" class="search-input form-control"
               @bind="searchTerm"
               @bind:event="oninput"
               @onkeydown="HandleSearchOnEnterAsync" />
    private async Task HandleSearchOnEnterAsync(KeyboardEventArgs e)
    {
        if (e.Key == "Enter")
        {
            await ExecuteSearchAsync();
        }
    }

Is there any workaround for that issue?
Is a known bug?

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.10 SR1

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.100 SR10

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android Version 14

Did you find any workaround?

No response

Relevant log output

@lommez lommez added the t/bug Something isn't working label Nov 20, 2024
@samhouts samhouts added platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending labels Nov 20, 2024
@ninachen03
Copy link

Could you provide a sample project for us to investigate it further?
Looking forward to your reply!

@PureWeen PureWeen added the s/needs-repro Attach a solution or code which reproduces the issue label Nov 21, 2024
Copy link
Contributor

Hi @lommez. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants