I think I found solution. I downgraded to "react-json-tree": "^0.18.0",
before it was "react-json-tree": "^0.19.0",
on this version the issue does not exist