Workaround for pasting into editor within scrollview (#913)

This commit is contained in:
Matt Portune 2020-05-20 17:23:59 -04:00 committed by GitHub
parent ce965ba5e1
commit 5a8fc2dabc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,15 @@ namespace Bit.Droid.Renderers
: base(context)
{ }
// Workaround for issue described here:
// https://github.com/xamarin/Xamarin.Forms/issues/8291#issuecomment-617456651
protected override void OnAttachedToWindow()
{
base.OnAttachedToWindow();
EditText.Enabled = false;
EditText.Enabled = true;
}
protected override void OnElementChanged(ElementChangedEventArgs<Editor> e)
{
base.OnElementChanged(e);