AutoSuggest icon indicating copy to clipboard operation
AutoSuggest copied to clipboard

IE11: Unable to maintain Selection direction when the text is selected from right to left

Open avcs06 opened this issue 5 years ago • 0 comments

When user starts selecting multiple characters using SHIFT + LEFT ARROW, the position calculator inserts a span to calculate the position and preserves the previous Selection by re-applying the selection after position calculation, but in IE11 I am not able to maintain the selection direction. Resulting in the behavior: a fresh selection starts at the position discarding the previous selection.

Selection.setBaseAndExtent or Selection.extend can be used to retain the selection direction but unfortunately both of them doesn't work in IE11. Any suggestions on how to resolve this problem will be appreciated.

avcs06 avatar Jun 26 '19 18:06 avcs06