selection-sharer
selection-sharer copied to clipboard
Sharer not closing when losing focus
The sharer only closes if you click on a targeted element, not if the selection loses focus by clicking on an element that is not targeted by selection-sharer.
As a fix, I use:
if(!window.getSelection().length) {
self.hide();
return;
}
in this.selectionChanged, line 311, before checking self.isMobile.
This fix doesn't seem to work anymore. Is there any onther way to fix it?