problem description
the selected picture is always at the top and obscures the objects behind it. How to set it in fabric.js will not raise the level of the image when selected.
the environmental background of the problems and what methods you have tried
Previous versions of fabric do not have this problem.related codes
var diy_canvas=new fabric.Canvas ("diyCanvas");
diy_canvas.centeredScaling=true;
diy_canvas.controlsAboveOverlay=true;
diy_canvas.setWidth(docEl.clientWidth);
diy_canvas.setHeight(docEl.clientWidth);
var canvas_proportion=docEl.clientWidth/560;
what result do you expect? What is the error message actually seen?
the choice of the older version will become the highest level.