Skip to content

Commit fe7d885

Browse files
authored
Merge pull request #2078 from IgniteUI/PMiteva/fix-bug-2076-v20.1
browserDefault selectionOnFocus should preserve caret…
2 parents b1ff57b + b5897b0 commit fe7d885

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)