Fixes an issue with Shadow DOM implementations and showMenuForCollection for non contenteditable elements
this.getDocument().activeElement
does not work for shadow DOM implementations: #77- Get
showMenuForCollection
working with non-contenteditable elements: #75
Thanks to @BorntraegerMarc and @alexisbernard for the PRs!