Reset component state: Reset to original component state, as set on the canvas
Icon button component using a swap instance property for select the icon from a separate library.
Place component on canvas and change the icon.
Open overlay on click and allow closing overlay when clicking outside of it.
Enable “Reset component state” in state management.
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.