• Robert Knight's avatar
    Preserve scroll position when toggling sidebar in VitalSource PDFs · c1abf185
    Robert Knight authored
    Use the `preserveScrollPosition` utility that was created for HTML / EPUB
    side-by-side mode to preserve scroll position when side-by-side mode is toggled
    in VitalSource PDFs.
    
     - Add a way to synchronously update the hidden text layer in VS PDFs
    
     - Wrap image size updates in VS PDFs in `preserveScrollPosition`
    c1abf185
image-text-layer-test.js 10.1 KB