Open reneroth opened 9 years ago
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.selectionChanged
This fix doesn't seem to work anymore. Is there any onther way to fix it?
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:
in
this.selectionChanged
, line 311, before checking self.isMobile.