DEV Community

Discussion on: Create a signature pad in React

Collapse
danielsogbey_19 profile image
Daniel Sogbey

In the save method,

It should be
sigCanvas.current.getTrimmedCanvas().toDataURL()

current must be added.