Scroll to first assigned signature field

I have tried this piece of code

const { documentViewer } = instance.Core

            documentViewer.addEventListener('annotationsLoaded', () => {
              const scrollViewElement = documentViewer.getScrollViewElement()
                left: undefined, // Can set to undefined since we only care about vertical scrolling.
                top: 3000,
                behavior: 'smooth'

And it is working fine with 1st signer but if we have multiple signers and both have sign fields on different pages then it will always scroll to the 1st signer field. Is there any way I can scroll to the scroll to selected signer field?

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Hello @danish.hayat,

Would the jump to annotation be a better fit for your use case?


This way you can specify which signature widget you need to jump to in the document based on your use case.

Best Regards,
Armando Bollain
Software Developer
PDFTron Systems, Inc.