react-json-view icon indicating copy to clipboard operation
react-json-view copied to clipboard

problems with inputRef

Open Marcin164 opened this issue 2 years ago • 1 comments

when opening edit panel, for the first time, int the console appears error: Warning: React does not recognize the inputRef prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase inputref instead. If you accidentally passed it from a parent component, remove it from the DOM element. as you can see, problem is with camel-case. Except that error, lib works fine

Marcin164 avatar Oct 25 '22 10:10 Marcin164

This is a known issue: https://github.com/mac-s-g/react-json-view/search?q=inputRef&type=issues

But unfortunately this project isn't maintained anymore... I suggest switching to its fork: https://github.com/TexteaInc/json-viewer

baartch avatar Nov 21 '22 10:11 baartch