-
Notifications
You must be signed in to change notification settings - Fork 377
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
fix: double submit with Enter #1050
Comments
No, did not do that. Will try that next |
Ok, can reproduce with |
Of course, removing the submit is not alway going to be a viable solution. I've traced back the bug all the way to the FAST source code (which is what is used to build the Unfortunately, it needs to be fixed there first. After that we need to get a new release of the web components script and integrate that in our library. I'm in contact with the FAST maintainers to see if and how this can be expidited but I'm afraid this behavior can not be changed/circumvented when usen the keyboard until the scripts get fixed. |
Thanks @vnbaaij. Too bad the problem lies so deep. Also, another workaround is to use a non-fluent submit button for the time being. |
@vnbaaij do you have a solution in sight? |
No, nothing has changed. We anticipate it wont be fixed until we have the new web components |
🐛 Bug Report
When navigating to an EditForm's submit button by keyboard and hitting Enter, submit occurs twice.
💻 Repro or Code Sample
dotnet new install Microsoft.FluentUI.AspNetCore.Templates::4.1.1
dotnet new fluentblazor
Replace Counter.razor content with the following, tab your way to the FluentButton and hit Enter -> current count is incremented by 2.
🌍 Your Environment
Occurs at least in Edge and Firefox
The text was updated successfully, but these errors were encountered: