We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b05242 commit 2e71646Copy full SHA for 2e71646
client/src/reader/containers/annotation/Annotatable.js
@@ -557,7 +557,8 @@ export class Annotatable extends Component {
557
annotationHref={this.getAnnotationUrl()}
558
clearSelection={() =>
559
this.resetState({
560
- restoreFocusTo: this.selectableRef,
+ restoreFocusTo:
561
+ this.activeAnnotationObject?.id ?? this.selectableRef,
562
restoreSelectionTo: this.pendingAnnotationNode
563
})
564
}
0 commit comments