The selected object is automatically brought to the fore.

Whenever I select an item on the canvas, it is automatically displayed on top, leaving all objects behind. Is there any way to stop this?

+8
javascript html5-canvas fabricjs
source share
1 answer

Set the preserveObjectStacking "property of fabricjs property to true to stop output to selected objects.

var canvas = new fabric.Canvas('canvas'); canvas. preserveObjectStacking = true; 
+9
source share

All Articles