Hi Frederick,
This maybe a little late to your question but I'm adding some inputs, I got the same issue, and they told me that "
The signature pad render depends on parent div element height and width." So I recommend that either add some width and height to your parent div, or add some HtmlAttribute inside the SfSignature component like this:
<SfSignature @ref="SignatureRef"
HtmlAttributes="@HtmlAttribute"
Disabled="@SignatureDisable"
StrokeColor="@StrokeColor"
MaxStrokeWidth="@MaxStrokeWidth"
MinStrokeWidth="0.5"
Velocity="0.7"
Changed="SignatureChanged">
</SfSignature>
@code{
//Previous code
Dictionary<string, object> HtmlAttribute = new Dictionary<string, object>()
{
//{ "style", "width: 400px; height: 100px;" },
{"height", "250px;" },
{"width", "1020px;" }
};
}
//Previous code