Rotate page always rotates all pages instead of just one

When using both the built in Rotate Page buttons, and custom made ones:
rotateLeft() {
const { docViewer } = this.viewerInstance;

all pages are rotated instead of just one page. Tried on a couple of PDF documents.

big_pdf.pdf (652.5 KB)
You can test it with this file.

Hi there,

I cannot reproduce your issue - calling that function only rotates the page I pass in. Can you reproduce in the latest version? Can you verify that docViewer.getCurrentPage() is returning what you expect?