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

[BUG] [iOS] KeyboardExtensions, throws exception 'System.NotSupportedException: Arg_NotSupportedException' #2244

Closed
2 tasks done
mnowacki opened this issue Oct 2, 2024 · 5 comments
Labels
bug Something isn't working needs reproduction stale The author has not responded in over 30 days unverified

Comments

@mnowacki
Copy link

mnowacki commented Oct 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

I use bool KeyboardExtensions.IsSoftKeyboardShowing(ITextInput) in my code. It worked ok but when i upgraded to new version 9.1.0 it started throwing exception System.NotSupportedException: Arg_NotSupportedException. The problem is just in release mode. In debug is ok. When i downgraded to version 9.0.3 it works ok again.

Expected Behavior

Works without throwing exceptions in Release mode.

Steps To Reproduce

  1. Just use in code bool KeyboardExtensions.IsSoftKeyboardShowing(ITextInput).
  2. Compile in Release mode .
  3. Run on ios.

Link to public reproduction project repository

none

Environment

- .NET MAUI CommunityToolkit:9.1.0
- OS:ios 17.6.1
- .NET MAUI:8.0.8

Anything else?

I think it's related to aot.

@mnowacki mnowacki added bug Something isn't working unverified labels Oct 2, 2024
@mnowacki mnowacki changed the title [BUG] [iOS] KeyboardExtensions, [BUG] [iOS] KeyboardExtensions, throws exception" System.NotSupportedException: Arg_NotSupportedException Oct 2, 2024
@mnowacki mnowacki changed the title [BUG] [iOS] KeyboardExtensions, throws exception" System.NotSupportedException: Arg_NotSupportedException [BUG] [iOS] KeyboardExtensions, throws exception 'System.NotSupportedException: Arg_NotSupportedException' Oct 2, 2024
Copy link
Contributor

Hi @mnowacki. We have added the "needs reproduction" label to this issue, which indicates that we cannot take further action. This issue will be closed automatically in 5 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.

@bijington
Copy link
Contributor

We do ask for a reproduction sample to help us prove the issue exists and also that it has been fixed. That said I believe this issue might be solved in PR #2243

Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 2 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@dotnet-policy-service dotnet-policy-service bot added the stale The author has not responded in over 30 days label Oct 7, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 2 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

Copy link
Contributor

We haven't received a reproduction sample from you. The issue is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs reproduction stale The author has not responded in over 30 days unverified
Projects
None yet
Development

No branches or pull requests

3 participants