# Sometimes webviewer canvas does not fit on zoom in and zoom out

**URL:** <https://community.apryse.com/t/sometimes-webviewer-canvas-does-not-fit-on-zoom-in-and-zoom-out/7697>\
**Category:** WebViewer\
**Tags:** annotations, pdf\
**Created:** [March 13, 2023, 1:33pm UTC](https://community.apryse.com/t/sometimes-webviewer-canvas-does-not-fit-on-zoom-in-and-zoom-out/7697 "2023-03-13T13:33:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![emiliano.pintos](https://community.apryse.com/letter_avatar_proxy/v4/letter/e/46a35a/32.png) [@emiliano.pintos](https://community.apryse.com/u/emiliano.pintos)\
**Post date:** [March 13, 2023, 1:33pm UTC](https://community.apryse.com/t/sometimes-webviewer-canvas-does-not-fit-on-zoom-in-and-zoom-out/7697/1 "2023-03-13T13:33:32Z")

</div>

WebViewer Version: 8.10

Do you have an issue with a specific file(s)? NO  
Can you reproduce using one of our samples or online demos? NO  
Are you using the WebViewer server? NO  
Does the issue only happen on certain browsers? NO  
Is your issue related to a front-end framework? NO  
Is your issue related to annotations? NO

Please give a brief summary of your issue:  
PDF not resizing on zoom in and zoom out

Please describe your issue and provide steps to reproduce it:  
When I click repeatedly zoom in and zoom out sometimes the page of the pdf file doesn’t fit to the percentage specified in the zoom tool and the page looks incomplete and left blank spaces.

Please provide a link to a minimal sample where the issue is reproducible:

 ![Capture3](https://community.apryse.com/uploads/default/original/2X/7/76383c8ed4b81a1cc1642fc157f5129eb627a4e6.png)  
 ![Capture4](https://community.apryse.com/uploads/default/original/2X/1/1fd12288a5e298773cb937265b40c1da4645405a.png)  
 ![Capture](https://community.apryse.com/uploads/default/original/2X/d/d8d841b9991343e8d805ea6c0554d66f16083f9b.png)  
 ![Capture2](https://community.apryse.com/uploads/default/original/2X/6/6365fd680b3cb490397c60962cd55a9a794b88f3.png)

Thanks for your support

---

<div class="post-metadata">

**Author:** ![Wanbo\_Li](https://community.apryse.com/letter_avatar_proxy/v4/letter/w/ec9cab/32.png) [@Wanbo\_Li](https://community.apryse.com/u/Wanbo_Li)\
**Post date:** [March 14, 2023, 4:38am UTC](https://community.apryse.com/t/sometimes-webviewer-canvas-does-not-fit-on-zoom-in-and-zoom-out/7697/2 "2023-03-14T04:38:26Z")

</div>

Hi,

Could provide a link to a minimal sample where the issue is reproducible so that we can investigate? Thanks.

Wanbo

---

<div class="post-metadata">

**Author:** ![emiliano.pintos](https://community.apryse.com/letter_avatar_proxy/v4/letter/e/46a35a/32.png) [@emiliano.pintos](https://community.apryse.com/u/emiliano.pintos)\
**Post date:** [March 14, 2023, 4:45pm UTC](https://community.apryse.com/t/sometimes-webviewer-canvas-does-not-fit-on-zoom-in-and-zoom-out/7697/3 "2023-03-14T16:45:21Z")

</div>

The only thing I can share with you is a short video of the issue, sorry.

> **[2023-03-14-11-36-13.mp4](https://drive.google.com/file/d/1efXYyebztdnUQL47LuxNYmLCFWOH7z5G/view?usp=share_link)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![Wanbo\_Li](https://community.apryse.com/letter_avatar_proxy/v4/letter/w/ec9cab/32.png) [@Wanbo\_Li](https://community.apryse.com/u/Wanbo_Li)\
**Post date:** [March 15, 2023, 2:20am UTC](https://community.apryse.com/t/sometimes-webviewer-canvas-does-not-fit-on-zoom-in-and-zoom-out/7697/4 "2023-03-15T02:20:49Z")

</div>

Hi,

Could you try upgrading to the latest WebViewer version (8.12) and see if the issue still happens? Thanks.

Wanbo
