Browse Source

fix android crash when ime is dismissed on a read only input

pull/9164/head
Emmanuel Hansen 4 years ago
parent
commit
97c0b13048
  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