• 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
vitalsource.js 11.5 KB