Skip to content

Commit b69f973

Browse files
committed
fix(textEditor) browserDefault selectionOnFocus should preserve caret position when blurred #2076
1 parent 7bc5135 commit b69f973

2 files changed

Lines changed: 158 additions & 125 deletions

File tree

src/js/modules/infragistics.ui.editors.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3689,7 +3689,8 @@
36893689
}
36903690
break;
36913691
case "browserDefault": {
3692-
if (startPosition) {
3692+
//P.M. 25/06/2020 #2076 'igTextEditor selects all the text when the browser window gets focused again'
3693+
if (startPosition >= 0) {
36933694
if (endPosition) {
36943695

36953696
//I.G. 03/04/2020 #2056 'Caret position is placed one character before the last one, when the right side of the last character is clicked'

0 commit comments

Comments
 (0)