I am creating a product configurator using Vue and FabricJS.
I have created a canvas using
this.canvas = new fabric.Canvas("canvas");
<template>
<div id="wrapper">
<div id="left"></div>
<canvas id="canvas"/>
</div>
</template>
After I add an object to the canvas (IText, Textbox, Image, using new fabric.IText(...)) and select it with mouse, I am not able to use object controls to resize, scale, skew or rotate the object. However, I can move the object on canvas. After I add another object, select both of them at once and deselect again, the controls are all of a sudden working as intended. I was not able to reproduce the issue on JsFiddle, everything works there.
Controls not working until both objects are selected
I encoutered the problem using various browsers.
Am I missing some canvas property, which enables this immediately after adding? Or is that a bug in Fabric.js?