• Robert Knight's avatar
    Use a transparent backdrop to intercept clicks outside share dialog · b376de32
    Robert Knight authored
    Instead of adding event listeners to the document to track clicks
    outside the share dialog, use a transparent backdrop element behind the
    share dialog which covers the whole page.
    
    This avoids the need to register/unregister document-level event
    handlers in the controller, removing some code which was untested.
    b376de32
annotation-share-dialog.scss 2.92 KB