# Issue searching documents with different size pages

**URL:** https://pdfjs.community/t/issue-searching-documents-with-different-size-pages/578
**Category:** Technical Support
**Created:** [March 5, 2021, 11:56pm UTC](https://pdfjs.community/t/issue-searching-documents-with-different-size-pages/578 "2021-03-05T23:56:06Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![andy](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@andy](https://pdfjs.community/u/andy)
#### Post date: [March 5, 2021, 11:56pm UTC](https://pdfjs.community/t/issue-searching-documents-with-different-size-pages/578/1 "2021-03-05T23:56:06Z")

</div>

**PDF.js Express Version**  
7.3.1

**Detailed description of issue**  
We have pdf’s which have different sized pages, some are horizontal even. The issue I am seeing is when using the search feature, when choosing different results it causes the pages to bounce around in “fit to width” mode. So if your clocking on results from different pages sometimes you will see the bottom right corner of the page, then it moves to upper left, etc.

**Expected behaviour**  
The pages to stay centered in the window and don’t move around.

**Does your issue happen with every document, or just one?**  
Happens with documents that have different size pages.

**Link to document**

> **[SUPPL\_APP\_REVIEW\_208573\_208573ORIG1S020,S021.PDF](https://storage.googleapis.com/dev-myindago-sba-pdfexpress/SUPPL_APP_REVIEW_208573_208573ORIG1S020,S021.PDF)**
>
> 10.33 MB

**Code snippet**  
{Provide a relevant code snippet}

---

_[View the full topic](https://pdfjs.community/t/issue-searching-documents-with-different-size-pages/578)._
