• Robert Knight's avatar
    Re-render Adder when `annotationsForSelection` property changes · ee9a45b8
    Robert Knight authored
    This fixes an issue where the `show` method could position the adder
    incorrectly if the emptiness of `annotationsForSelection` changed since
    the adder was previously displayed. This is because the size of the
    adder was outdated at the point when `show` calls `_calculateTarget` to
    determine the adder position. Re-rendering as soon as
    `annotationsForSelection` changes resolves this.
    
    Fixes #3293
    ee9a45b8
Name
Last commit
Last update
..
integration Loading commit data...
adder-test.js Loading commit data...
annotation-counts-test.js Loading commit data...
bucket-bar-client-test.js Loading commit data...
bucket-bar-test.js Loading commit data...
empty.html Loading commit data...
features-test.js Loading commit data...
frame-observer-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...