Skip to main content
Inspiring
November 24, 2023
Question

URGENT: Text selection does not work

  • November 24, 2023
  • 2 replies
  • 2356 views

Attempting to select a simple piece of text, throws hundreds of javascript exceptions in the browser and does not enable the toolbar even upon waiting for it.

 

Uncaught TypeError: Cannot read properties of undefined (reading 'deviceLeft')
at CommentsOverlay.onSelectionEnd (CommentsOverlay.jsx:420:37)
at SignalDispatcher.js:25:9
at Array.forEach (<anonymous>)
at SignalDispatcher.trigger (SignalDispatcher.js:24:17)
at endSelection (selectionHandler.js:143:3)
at TextManager.selectionHandler (selectionHandler.js:63:14)
at TextManager._onSelectionEnd (TextManager.js:606:10)
at TextManager.endSelection (TextManager.js:622:12)
at TextManager.handleMouseUp (TextManager.js:640:10)
at PageContentHandler.invokeTextManagerMethod (index.js:100:47)

 

See attached video

    This topic has been closed for replies.

    2 replies

    Inspiring
    November 29, 2023

    @Raymond Camden same issue after reported almost a year ago in thread above, please advise..

    Inspiring
    December 13, 2023

    Garrett, I honestly don't know what to tell you. If this were universal, we'd see a lot of folks reporting and would have no issues replicating it. I've done what I can here, sorry.


    Ok, thanks for the help regardless. My genuine feeling is that everybody whose tried to implement Annotations API's in Production has just given up..

    Inspiring
    November 24, 2023

    The same highlight on the second page allows me to select the text, but no toolbar. First page is where exceptions happen