Signature doesn't disappear after signatureModal is closed in IOS 17.4.1

After updating my IOS I faced with issue that
The signature doesn’t disappear after the signature modal is closed


  1. Create sign here form in PDF
  2. Open PDF with sign here form on IOS 17.4,1, Click to sign here form
  3. Create new signature modal will be opened
  4. draw new signature and click Create

Create new signature modal closed but we have a sticky signature in the PDF ( it disappears only after rotating the phone)

Expected result
The Create new signature'modal is closed; no sticky signature should be in the PDF ( it should disappear after closing the modal ).

The signature canvas doesn’t disappear after signing Sign here from and closing Create Neew Signature'dialog

This is my files :

file: `config.js`
instance.UI.addEventListener(instance.UI.Events.DOCUMENT_LOADED, async () => {
  const { documentViewer } = instance.Core

  const data = await documentViewer.getDocument().getFileData()
      type: ViewerMessageType.DOCUMENT_LOADED,
      value: data,

const importAnnotations = async () => {
  const custom = JSON.parse(instance.UI.getCustomData())
  if (custom?.annotations) {
    // we have to delete annotations and import again it fix unexpected issue with 'sign here' lable overlaps added signature
    await instance.Core.annotationManager.importAnnotations('')
    await instance.Core.annotationManager.deleteAnnotations(
    await instance.Core.annotationManager.importAnnotations(custom.annotations)
file: `WebViewer.vue `

          initialDoc: props.src,
          path: `${process.env.VUE_APP_PUBLIC_URL}/pdfjs-express`,
          licenseKey: process.env.VUE_PDFJS_EXPRESS_TOKEN!,
          config: `${process.env.VUE_APP_PUBLIC_URL}/pdfjs-express/config/config.js`,
          disabledElements: [...(props?.disabledElements || [])],
          custom: JSON.stringify({
            annotations: props.annotation,
          annotationUser: AnnotationDisplayAuthor.RECIPIENT,
          preloadWorker: 'pdf',
          isReadOnly: props.pdfOnlyView,

Thank you for posting the incident to our forum. We will provide you with an update as soon as possible.

Fixed This issue By adding styles display: none for hiding SignatureModal

The issue is that we were using

  • visibility: hidden - for hiding SignatureModal
    and canvas doesn’t disappear on IOS

After using

  • display: none - for hiding SignatureModal
    it fixed issue
       initialDoc: src
       css: my-styles.css 
       }, refElement)

  display: none !important;

  display: block !important;