mac-s-g / react-json-view

JSON viewer for react

Home Page:https://mac-s-g.github.io/react-json-view/demo/dist/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Returning false in onDelete changes .updated_src in v1.21.3

busterbogheart opened this issue · comments

Despite the documentation, returning false does alter the internal state of the module and changes updated_src. I've set up a simple demo here:
https://codesandbox.io/s/naughty-ganguly-l2zr38?file=/src/App.js

This causes, at least: when being blocked from deleting a key, and then successfully removing a different one, both rows disappear.

Same happens with onEdit

Running into the same issue.