I have a Canvas Object with top and left attributes defined through with a previous JavaScript function but when I create a fabric Canvas object
var fabricCanvas= new fabric.Canvas('mycanvas');
my HTML Canvas has top and left attributes set on 0.
I have tried setting the top and left attributes after the creation of fabric Canvas object through a script but when I do this the canvas changes position but the fabric function (selection and moving functions) remain where the canvas was located previously (where fabric Canvas has positioned it)!
What can I do to resolve this conflict? Is there a way to keep equal the canvas?