Closed perdix1975 closed 2 years ago
I found a workaround for this issue.
After calling jumpTo, call performPageSnap. Note that jumpTo animation must be false, otherwise jumpTo will not work.
pdfView.jumpTo(pageNumber, false); pdfView.performPageSnap();
When .swipeHorizontal(true), then .autoSpacing(true) works just fine. However, when .swipeHorizontal(false), then .autoSpacing(true) works only when swiping between pages, meaning that, when using pdfView.jumpTo(pageNumber), then autoSpacing doesn't seem to work!