[X] I followed instructions in documentation written for my React-PDF version
[X] I have checked if this bug is not already reported
[X] I have checked if an issue is not listed in Known issues
[x] If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo
Description
On a website if i select text then click again it allows me to drag the selection. In react-pdf the selection is cleared on the second click preventing this dragging behaviour. Dragging on a website adds the content to the DataTransfer object which means it can be access on drop etc.
Is there a way to support this with react-pdfs text layer
Many thanks, Ed
Steps to reproduce
Open a pdf with text, textLayer.css and annotationlayer.cs loaded
select some text
click again and try and drag the text
Expected behavior
text is added to data transfer object and dragged like normal text in a browser
Before you start - checklist
Description
On a website if i select text then click again it allows me to drag the selection. In react-pdf the selection is cleared on the second click preventing this dragging behaviour. Dragging on a website adds the content to the DataTransfer object which means it can be access on drop etc.
Is there a way to support this with react-pdfs text layer
Many thanks, Ed
Steps to reproduce
Open a pdf with text, textLayer.css and annotationlayer.cs loaded select some text click again and try and drag the text
Expected behavior
text is added to data transfer object and dragged like normal text in a browser
Actual behavior
selection is cleared
Additional information
No response
Environment