I am creating a pdf viewer using react-pdf, I want to implement a page tracker in the pdf viewer, so that user can navigate to any page typed in the input box. And the page number should also update when the user reaches any page with that specific page number.
I am not able to implement this. Here is the image of the page tracker -
Please help me solve this problem.