Skip to main content
Question

State manager: Icon property gets reset to component original instead of canvas configuration

  • June 16, 2023
  • 1 reply
  • 556 views

Que

Documentation states:

Reset component state: Reset to original component state, as set on the canvas

Setup:

  1. Icon button component using a swap instance property for select the icon from a separate library.

  2. Place component on canvas and change the icon.

  3. Open overlay on click and allow closing overlay when clicking outside of it.

  4. Enable “Reset component state” in state management.

Screenshot 2023-06-16 at 15.45.11

Behavior:

After clicking outside of the overlay to close it, the icon button component property for the icon gets reset to the original value configured in the component and NOT as expected to the value configured on the canvas.

In this case, the canvas and the component live in the same file.

This topic has been closed for comments

1 reply

  • 0 replies
  • July 16, 2023

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings