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 23f762a commit d1dddc9Copy full SHA for d1dddc9
packages/text-annotator/src/SelectionHandler.ts
@@ -209,7 +209,7 @@ export const SelectionHandler = (
209
if (selected.length !== 1 || selected[0].id !== hovered.id) {
210
selection.userSelect(hovered.id, evt);
211
}
212
- } else if (!selection.isEmpty()) {
+ } else {
213
selection.clear();
214
215
};
0 commit comments