keirbowden / sigcapapp

Signature Capture Samples
MIT License
9 stars 5 forks source link

Signature box does not resize in flow #12

Open areyes06 opened 6 years ago

areyes06 commented 6 years ago

When adding the signature box in a flow, it gives you the option to set the height and width attributes. No matter what I put in there, the size remains the same. Not sure if that is just the nature of flows, or if it is another issue.

keirbowden commented 6 years ago

Hi,

It looks like this is a feature of flows - the height and width are being passed through to the component from the flow, but any attempt to size the canvas where you draw the signature through JavaScript has no effect. I don't think I'm going to be able to do anything about this - the only way to affect the size in flow is via the style file in the component itself, which can't be dynamically generated.