mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
Workaround for pasting into editor within scrollview (#913)
This commit is contained in:
parent
ce965ba5e1
commit
5a8fc2dabc
1 changed files with 9 additions and 0 deletions
|
@ -12,6 +12,15 @@ namespace Bit.Droid.Renderers
|
|||
public CustomEditorRenderer(Context context)
|
||||
: 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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue