scaleflex / filerobot-image-editor

Edit, resize, and filter any image! Any questions or issues, please report to https://github.com/scaleflex/filerobot-image-editor/issues
MIT License
1.26k stars 321 forks source link

Callback "onModify" not triggered by "undo" / "redo"? #444

Closed software-mf closed 1 month ago

software-mf commented 4 months ago

Hi, when the icons "undo" / "redo" (top right in the editor) are clicked the callback

onModify

is not triggered as I see (when I log this callback on the JavaScript console) although the image is modified by this action.

Is there a possibilty to make sure that this callback

onModify

is called with each modification?

AhmeeedMostafa commented 4 months ago

@software-mf yes, this should be considered as an enhancement in the upcoming changes (no specific time yet) if you are in a hurry about it you might contribute by doing that useAppReducer.js file would be a hand for you.

AhmeeedMostafa commented 1 month ago

Hello, the issue is considered in the latest released minor version v4.8.0, please update the plugin and re-open the issue if there is any update.