You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found in mozilla's pdfjs that rendering an annotation is depending on the isRenderable property, and for Signatures, that property depends on hasOwnCanvas. But I do not find anywhere where that can be set. So as a workaround I mutated the annotation after onGetAnnotationsSuccess is called, checked if the fieldType was "Sig" and set hasOwnCanvas to true. Although it does work, it feels hacky and was wondering if there was a more proper way. Can't find anything in the documentation, only issues that do not say how
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I found in mozilla's pdfjs that rendering an annotation is depending on the
isRenderable
property, and for Signatures, that property depends onhasOwnCanvas
. But I do not find anywhere where that can be set. So as a workaround I mutated the annotation afteronGetAnnotationsSuccess
is called, checked if thefieldType
was"Sig"
and sethasOwnCanvas
totrue
. Although it does work, it feels hacky and was wondering if there was a more proper way. Can't find anything in the documentation, only issues that do not say howBeta Was this translation helpful? Give feedback.
All reactions