• Robert Knight's avatar
    Set focused state correctly for new highlights · a5c587c8
    Robert Knight authored
    If the user hovered an annotation card before anchoring in the document
    completed, or if an annotation was re-anchored in a PDF after the card
    was hovered, then the highlight in the document was incorrectly shown in
    an un-focused rather than focused state.
    
    Fix the issue by keeping track of the current set of focused annotations
    in the Guest and setting the focus state correctly for new highlights
    added by `anchor`.
    
    Part of https://github.com/hypothesis/client/issues/3269
    a5c587c8
Name
Last commit
Last update
..
integration Loading commit data...
adder-test.js Loading commit data...
annotation-counts-test.js Loading commit data...
annotation-sync-test.js Loading commit data...
bucket-bar-test.js Loading commit data...
cross-frame-test.js Loading commit data...
empty.html Loading commit data...
features-test.js Loading commit data...
guest-test.js Loading commit data...
highlighter-test.js Loading commit data...
notebook-test.js Loading commit data...
range-util-test.js Loading commit data...
selection-observer-test.js Loading commit data...
sidebar-test.js Loading commit data...
sidebar-trigger-test.js Loading commit data...
toolbar-test.js Loading commit data...