From 0b02c9f2b5ce30627cdb418ea495521960685f32 Mon Sep 17 00:00:00 2001 From: "xingwei.zhu" Date: Fri, 31 May 2019 18:42:11 +0800 Subject: [PATCH] fix focus bug on edittext --- Runtime/rendering/editable.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Runtime/rendering/editable.cs b/Runtime/rendering/editable.cs index 7f345c31..227112a2 100644 --- a/Runtime/rendering/editable.cs +++ b/Runtime/rendering/editable.cs @@ -998,9 +998,7 @@ public void selectPositionAt(Offset from = null, Offset to = null, SelectionChan extentOffset: extentOffset, affinity: fromPosition.affinity); - if (newSelection != this._selection) { - this.onSelectionChanged(newSelection, this, cause.Value); - } + this.onSelectionChanged(newSelection, this, cause.Value); } }