Questions tagged [react-canvas]

18 questions
0
votes
1 answer

How to save stage of canvas in JSON format?

In my current project I want to build something like Image Editor with react and react-konva. First of all, I render a konva stage with some props and default draggable stars. In the next step we can set background image for our stage using Image…
Elli Zorro
  • 463
  • 3
  • 19
0
votes
1 answer

React - Fabric Js getActiveObject not working

I'm new to React with Fabric Js. I just tried to set current active image. My problem is after selecting setting getActiveObject() the canvas image is gone to white color. I tried with some methods, but I can't find the solution. Demo Link:…
Mock Changer
  • 53
  • 1
  • 6
0
votes
1 answer

Weird issues with react-canvas (Invariant violation)

Using react 0.13.3 and a fresh react-canvas. I'm getting Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not…
Seppo420
  • 2,041
  • 2
  • 18
  • 37
1
2