• 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
..
buckets-test.js Loading commit data...
emitter-test.js Loading commit data...
frame-util-test.js Loading commit data...
listener-collection-test.js Loading commit data...
shadow-root-test.js Loading commit data...
url-test.js Loading commit data...