Error with localstorage

WebViewer Version:

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? IDK
Is your issue related to a front-end framework? Yes
Is your issue related to annotations? No

Please give a brief summary of your issue:
Unable to use localstorage

Please describe your issue and provide steps to reproduce it:
When starting webviewer, I get this error:

localStorage could not be accessed. Failed to execute ‘setItem’ on ‘Storage’: Setting the value of ‘toolData-SignatureFormFieldCreateTool4’ exceeded the quota.

To remove the error, I used this:

    instance.UI.disableFeatures([instance.UI.Feature.LocalStorage]);

Is there a better way to handle this?
Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hello Scott,

I have a couple of questions:

  1. Are you using a framework?
  2. How are you calling the WebViewer constructor? (could you possibly send a code snippet?
  3. What browser are you using?
  4. What WebViewer version are you using?

Best Regards,
Tyler Gordon
Web Development Support Engineer
PDFTron Systems, Inc.