We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b00afd commit 01353a3Copy full SHA for 01353a3
packages/text-annotator/src/SelectionHandler.ts
@@ -219,7 +219,6 @@ export const SelectionHandler = (
219
currentTarget = undefined;
220
clickSelect();
221
} else if (currentTarget && currentTarget.selector.length > 0) {
222
- selection.clear();
223
upsertCurrentTarget();
224
selection.userSelect(currentTarget.annotation, clonePointerEvent(evt));
225
}
@@ -247,7 +246,6 @@ export const SelectionHandler = (
247
246
const sel = document.getSelection();
248
249
if (!sel.isCollapsed) {
250
251
252
selection.userSelect(currentTarget.annotation, cloneKeyboardEvent(evt));
253
0 commit comments