Hi,
I've clone the repo but for some reason text selection doesn't work on safari although works perfectly fine on chrome. Did someone have a similar issue?
I found that:
- Standard selection methods don't work but text selection via JavaScript
window.getSelection() does
- PDF renders correctly
- Text content exists in the DOM (word search works; doesn't highlight)
- Individual text divs are empty despite text layer containing content
I've tried without success:
- Changing textLayerMode from 2 to 1
- Legacy pdf.js import
- Disabling all custom .css overwrites
- Disabling event handlers
- Loading worker from local dir
Only things that work were:
- creating totally new pdf viewer on pdf.js
- running demo
Thanks in advance for any tips!
Hi,
I've clone the repo but for some reason text selection doesn't work on safari although works perfectly fine on chrome. Did someone have a similar issue?
I found that:
window.getSelection()doesI've tried without success:
Only things that work were:
Thanks in advance for any tips!