Responsive Canvas area #73
Comments
Please see reference implementation. https://github.com/wulfsolter/angular2-signaturepad#reference-implementation |
Reference implementation does not cover responsive canvas area or canvas width in percentage. |
Exactly. |
Is it possible to implement this ? |
I don't understand the question? Probably? |
Maybe an example will be more understandable
|
Or if set
do
? |
I don't understand what you're trying to say @Hartaxfr . Are you reporting a bug? Or have suggestions for extending documentation? Or you'd like to add another example reference implementation? Or you want to make a Pull Request? |
try this |
The issue is how to make this signaturePad to have width of it parent without setting the canvasWidth? in this example:
div has responsive width. how to make signaturePad occupied full width? |
Any news on this? Right now you always need to read the parents sizes, correct? |
responsive canvas area is not generating,
I have tried
this.signaturePad.set('width', '100%'); // This sets canvas width to 0
In CSS, CSS is not working on canvas element as canvas tag is not closing.
The text was updated successfully, but these errors were encountered: