Browse Source

Merge pull request #9164 from emmauss/android_ime_dismiss_fix

Fix Android crash when ime is dismissed on a read only input
pull/9176/head
Max Katz 4 years ago
committed by GitHub
parent
commit
15ef11f748
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Android/Avalonia.Android/Platform/SkiaPlatform/TopLevelImpl.cs

2
src/Android/Avalonia.Android/Platform/SkiaPlatform/TopLevelImpl.cs

@ -301,7 +301,7 @@ namespace Avalonia.Android.Platform.SkiaPlatform
IsComposing = true;
_inputMethod.Client.SetPreeditText(ComposingText);
_inputMethod.Client?.SetPreeditText(ComposingText);
return base.SetComposingText(text, newCursorPosition);
}

Loading…
Cancel
Save