-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
F:ScienceDirectP:Highlight&GoHighlight&Go product related issuesHighlight&Go product related issuesbugSomething isn't workingSomething isn't working
Description
Problem
Sites where on text selection displays a popup, sometimes annotation is not created due to a lack of text focus and getSelection() returns empty.
How to reproduce
Go to sciencedirect (e.g.: WACline paper), open an annotation tool (like Highlight&Go) and select a small portion of text. A popup will be prompted. Then, try to annotate (using the sidebar) the selected fragment. It won't annotate anything.
How to solve
Should be check how the selection of text is done, and if whether exist a way to prevent lose focus when clicking outside of the created popup on the website. Possible solution to this issue should be addressed here:
| if (document.getSelection().toString().length > 0) { |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
F:ScienceDirectP:Highlight&GoHighlight&Go product related issuesHighlight&Go product related issuesbugSomething isn't workingSomething isn't working
