Skip to content
New issue

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

"design:updated" event is not triggered when consecutive changes are made to the currently focused element #396

Open
arun-targetbay opened this issue Apr 15, 2024 · 2 comments
Assignees

Comments

@arun-targetbay
Copy link

unlayer.addEventListener('design:updated', (design: any) => { this.autoSave(design); console.log('design:updated', design); });

The "design:updated" event is successfully triggering and logging on the first update of the element. However, for consecutive updates on the same element, the callback associated with the "design:updated" event is not being fired. This issue prevents us from capturing and handling consecutive updates effectively. We need to investigate and resolve this behavior to ensure that the "design:updated" event functions as expected for all updates on the element.

@davidallen-petdesk
Copy link

@brunolemos brunolemos self-assigned this Jul 5, 2024
@brunolemos
Copy link
Member

We have launched this in the latest version. To try it out, pass version: "latest" to the options prop.

Let us know if it's working well for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants