• Eduardo Sanz García's avatar
    Hide sidebar on 'mousedown' event · 16d58f43
    Eduardo Sanz García authored
    When the selection of text finishes on the sidebar's iframe, the click
    event is not fired. Hence, the sidebar is not collapsed and the adder is
    not displayed. This is because events don't bubble up through the
    iframe.
    
    This PR makes the sidebar to collapse on 'mousedown' events on the host
    page. This is similar in nature to the 'touchstart' event that guest
    already listens (although for a different reason).
    
    Closes #463
    16d58f43
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
.eslintrc Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...