mac-s-g / react-json-view

JSON viewer for react
https://mac-s-g.github.io/react-json-view/demo/dist/
MIT License
3.42k stars 530 forks source link

problems with inputRef #427

Open Marcin164 opened 1 year ago

Marcin164 commented 1 year ago

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

baartch commented 1 year ago

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