# Angular example is not working as expected on mobile devices

**URL:** <https://pdfjs.community/t/angular-example-is-not-working-as-expected-on-mobile-devices/2262>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [December 28, 2022, 5:25pm UTC](https://pdfjs.community/t/angular-example-is-not-working-as-expected-on-mobile-devices/2262 "2022-12-28T17:25:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam.beer](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@adam.beer](https://pdfjs.community/u/adam.beer)\
**Post date:** [December 28, 2022, 5:25pm UTC](https://pdfjs.community/t/angular-example-is-not-working-as-expected-on-mobile-devices/2262/1 "2022-12-28T17:25:03Z")

</div>

**Which product are you using?**  
PDF.js Express Viewer

**PDF.js Express Version**  
8.7

**Detailed description of issue**  
When using the vanilla Angular example (upgraded to latest pdf.js version) pinch-to-zoom is not working on mobile devices. When viewing the Angular app from my macbook, I can zoom and pan as expected.

---

<div class="post-metadata">

**Author:** ![smout74](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@smout74](https://pdfjs.community/u/smout74)\
**Post date:** [January 18, 2023, 10:23am UTC](https://pdfjs.community/t/angular-example-is-not-working-as-expected-on-mobile-devices/2262/3 "2023-01-18T10:23:59Z")

</div>

+1

Using Angular 15

There is also no error message about it.

Panning also does not work on mobile (not even when the “panToolButton” is activated).  
“selectToolButton” appears on mobile, even though it is disabled

```javascript
instance.UI.disableElements(['leftPanel', 'leftPanelButton', 'selectToolButton']);

```

```javascript
Build: "MTAvMjYvMjAyMnxmNTAwMDQ1NjA="
Core version: "8.7.0"
Full API: false
UI version: "8.7.0"
WebViewer Server: false
webviewer.min.js: "8.7.0"

```

---

<div class="post-metadata">

**Author:** ![smout74](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@smout74](https://pdfjs.community/u/smout74)\
**Post date:** [January 18, 2023, 10:51am UTC](https://pdfjs.community/t/angular-example-is-not-working-as-expected-on-mobile-devices/2262/4 "2023-01-18T10:51:22Z")

</div>

BTW, when downgrading zoom pinchin and pan works well

```javascript
Build: "NC8xMi8yMDIyfDRkZTU3MmExYg=="
Core version: "8.4.0"
Full API: false
UI version: "8.4.1"

```
