Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 0b02c9f

Browse files
committed
fix focus bug on edittext
1 parent 3f950f9 commit 0b02c9f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Runtime/rendering/editable.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -998,9 +998,7 @@ public void selectPositionAt(Offset from = null, Offset to = null, SelectionChan
998998
extentOffset: extentOffset,
999999
affinity: fromPosition.affinity);
10001000

1001-
if (newSelection != this._selection) {
1002-
this.onSelectionChanged(newSelection, this, cause.Value);
1003-
}
1001+
this.onSelectionChanged(newSelection, this, cause.Value);
10041002
}
10051003
}
10061004

0 commit comments

Comments
 (0)