We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node.setEventListener("save", fn)
I'm running the demo locally and added a console log inside the App.tsx factory function withi:
factory
node.setEventListener("save", (p: any) => { console.log("save event listener", node.getId()); this.state.model!.doAction(Actions.updateNodeAttributes(node.getId(), { config: { model: node.getExtraData().model.toJson() } })); // node.getConfig().model = node.getExtraData().model.toJson(); });
and I'm noticing that after I change active tabs with my mouse, the save function gets repeatedly called forever:
demo
node.setEventListener("save"
npm run build:demo
npm run start
sublayout
It should be called once or twice (React 18) and stop
macOS
Ar
latest
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I'm running the demo locally and added a console log inside the App.tsx
factory
function withi:and I'm noticing that after I change active tabs with my mouse, the save function gets repeatedly called forever:
Your Example Website or App
demo
Steps to Reproduce the Bug or Issue
node.setEventListener("save"
npm run build:demo
andnpm run start
sublayout
example in the dropdown menuExpected behavior
It should be called once or twice (React 18) and stop
Operating System
macOS
Browser Type?
Ar
Browser Version
latest
Screenshots or Videos
Additional context
No response
The text was updated successfully, but these errors were encountered: