Skip to content

Commit

Permalink
Merge branch 'recogito#172-fix-popup-flickering-selection' into staging
Browse files Browse the repository at this point in the history
# Conflicts:
#	packages/text-annotator-react/src/hooks/useAnnotationQuoteIdling.ts
  • Loading branch information
oleksandr-danylchenko committed Nov 18, 2024
2 parents 0619e24 + 40fb398 commit 1e47035
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ const hasTargetQuoteChanged = (oldValue: TextAnnotationTarget, newValue: TextAnn
const { selector: newSelector } = newValue;
const newQuotes = newSelector.map(({ quote }) => quote);

return dequal(oldQuotes, newQuotes);
return !dequal(oldQuotes, newQuotes);
};

0 comments on commit 1e47035

Please sign in to comment.