Code component preview not updating after modifications

Created on 7 May 2025, 5 days ago

Overview

When modifying a component's properties (e.g., changing background color) and navigating back to the Canvas page, the hover preview still displays the previous state. The update is visible in the right-hand preview section, but the change is not reflected in the Canvas hover view, indicating a cache or sync issue.

Steps to Reproduce:

  1. Click on the + Add New button.
  2. Keep the default JS code as it is and click on Add to components from the side panel.
  3. Edit the component and change its background color to bg-blue-200.
  4. Observe that the right-hand preview section displays the correct color change.
  5. Navigate back to the Canvas page from the navigator.
  6. Hover over the card component.
  • Expected Result: The hover preview should display the updated background color (bg-blue-200).
  • Observation: Navigating back to the Canvas does not trigger a cache refresh or sync for the hover preview, leaving it in the previous state.

Proposed resolution

User interface changes

🐛 Bug report
Status

Active

Version

0.0

Component

Page builder

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024