# How to hide the circular progresbar which is showing while loading document

**URL:** <https://community.apryse.com/t/how-to-hide-the-circular-progresbar-which-is-showing-while-loading-document/12607>\
**Category:** WebViewer\
**Created:** [July 22, 2026, 10:56am UTC](https://community.apryse.com/t/how-to-hide-the-circular-progresbar-which-is-showing-while-loading-document/12607 "2026-07-22T10:56:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![stlokesh47](https://community.apryse.com/letter_avatar_proxy/v4/letter/s/9fc348/32.png) [@stlokesh47](https://community.apryse.com/u/stlokesh47)\
**Post date:** [July 22, 2026, 10:56am UTC](https://community.apryse.com/t/how-to-hide-the-circular-progresbar-which-is-showing-while-loading-document/12607/1 "2026-07-22T10:56:09Z")

</div>

WebViewer Version: 11.7.1

How to hide the circular progresbar which is showing while loading document

---

<div class="post-metadata">

**Author:** ![kkim](https://community.apryse.com/letter_avatar_proxy/v4/letter/k/3ab097/32.png) [@kkim](https://community.apryse.com/u/kkim)\
**Post date:** [July 22, 2026, 1:44pm UTC](https://community.apryse.com/t/how-to-hide-the-circular-progresbar-which-is-showing-while-loading-document/12607/3 "2026-07-22T13:44:50Z")

</div>

Hi there,

You can hide the default loading spinner by disabling it via:

```auto
instance.UI.disableElements(['loadingModal']);

```

Let me know how this works for you.

Best regards,

Kevin

---

<div class="post-metadata">

**Author:** ![stlokesh47](https://community.apryse.com/letter_avatar_proxy/v4/letter/s/9fc348/32.png) [@stlokesh47](https://community.apryse.com/u/stlokesh47)\
**Post date:** [July 23, 2026, 9:09am UTC](https://community.apryse.com/t/how-to-hide-the-circular-progresbar-which-is-showing-while-loading-document/12607/4 "2026-07-23T09:09:03Z")

</div>

Hi,

Thanks for the quick reply. I tried with this code. still it is showing.

WebViewer({

```
  path: baseHref + 'lib/webviewer',

  licenseKey: this.commonService.aspyreKey,

  initialDoc: '',

  // enableFilePicker: true,

  fullAPI: true,

  css: 'assets/css/webviewer-docview.css'

}, this.viewer.nativeElement).then(instance => {

  let that = this;

  this.viewerInstance = instance;

  const { UI, Core } = instance;

  const { Annotations, annotationManager, documentViewer, Tools } = Core;

  const { Feature } = instance.UI;

  UI.setToolbarGroup('toolbarGroup-View');

  UI.disableElements(\[

    'toolbarGroup-View', // entire View menu

    'toolbarGroup-Edit', // entire Edit menu

    'toolbarGroup-Annotate', // entire Annotate menu

    'toolbarGroup-FillAndSign',

    'toolbarGroup-Shapes',

    'toolbarGroup-Insert',

    'menuOverlay', // context menu

    'downloadButton', // single button

    'toolbarGroup-Edit',

    'toolbarGroup-Forms',

    'panToolButton',

    'progressBar'

  \]);    

  instance.UI.disableElements(\['loadingModal'\]);

});

```

 ![loader](https://community.apryse.com/uploads/default/original/2X/8/81ab3cc23048cf81500f424ff3fb1bae5b3998bf.jpeg)

---

<div class="post-metadata">

**Author:** ![kkim](https://community.apryse.com/letter_avatar_proxy/v4/letter/k/3ab097/32.png) [@kkim](https://community.apryse.com/u/kkim)\
**Post date:** [July 23, 2026, 1:48pm UTC](https://community.apryse.com/t/how-to-hide-the-circular-progresbar-which-is-showing-while-loading-document/12607/5 "2026-07-23T13:48:52Z")

</div>

Hi there,

Your code snippet has backward slashes inside the brackets. Could you please try removing that and see if that works for you?

 ![image](https://community.apryse.com/uploads/default/original/2X/b/b2a8d48358014432478fb4258d9042c5be80cdd7.png)

Alternatively, you can also hide the spinner via CSS. Please see this guide on using CSS with WebViewer:

> **[Custom JavaScript PDF Viewer UI Style: Buttons, Panel, Modal](https://docs.apryse.com/web/guides/customizing-styles)**
>
> Learn how to customize WebViewer UI with Modular UI, change color themes, CSS properties, and access DOM elements for a seamless user experience. Explore styling options and enhance your WebViewer interface effortlessly. The Apryse Web SDK...

Best regards,

Kevin

---

<div class="post-metadata">

**Author:** ![stlokesh47](https://community.apryse.com/letter_avatar_proxy/v4/letter/s/9fc348/32.png) [@stlokesh47](https://community.apryse.com/u/stlokesh47)\
**Post date:** [July 24, 2026, 5:40am UTC](https://community.apryse.com/t/how-to-hide-the-circular-progresbar-which-is-showing-while-loading-document/12607/6 "2026-07-24T05:40:46Z")

</div>

While posting backward slashes was added, but in my actual code backward slashes note there.  
instance.UI.disableElements([‘loadingModal’]);

---

<div class="post-metadata">

**Author:** ![kkim](https://community.apryse.com/letter_avatar_proxy/v4/letter/k/3ab097/32.png) [@kkim](https://community.apryse.com/u/kkim)\
**Post date:** [July 24, 2026, 3:36pm UTC](https://community.apryse.com/t/how-to-hide-the-circular-progresbar-which-is-showing-while-loading-document/12607/7 "2026-07-24T15:36:29Z")

</div>

Sorry about that, the correct data-element for 11.7.1 for the loading spinner is ‘progressModal’

Please use `instance.UI.disableElements(['progressModal'])`

 ![image](https://community.apryse.com/uploads/default/original/2X/7/777e9f782d40435affa2e6721af2dc1fa3d20d06.png)

Best regards,

Kevin

---

<div class="post-metadata">

**Author:** ![stlokesh47](https://community.apryse.com/letter_avatar_proxy/v4/letter/s/9fc348/32.png) [@stlokesh47](https://community.apryse.com/u/stlokesh47)\
**Post date:** [July 27, 2026, 5:18am UTC](https://community.apryse.com/t/how-to-hide-the-circular-progresbar-which-is-showing-while-loading-document/12607/8 "2026-07-27T05:18:02Z")

</div>

Thanks for the response.
