Hi,
we implemented a full page search feature in our WebViewer custom config.
It finds a search word in the full text of the page and gets the quads of these occurances.
After that it creates an annotation for every occurance and uses the TextHighlightCreateTool to draw them onto the page.
This works extremely well on the desktop version of the WebViewer but does not draw every annotation when doing the same on mobile.
As the culprit I have identified the use of the Underscore JS function "throttle" which wraps every call to the select Function of any TextTool on mobile.
This results in only drawing an annotation every 50 ms, every call inbetween is thrown away and no annotation is drawn.
The throttling occurs in MobileReaderControl.js line 196-199.
Is there a way to call the original select function of the TextTool directly without the throttling?
Thanks in advance