Skip to content

ServerSideRender: Some attribute updates are not reflected immediately #69220

@t-hamano

Description

@t-hamano

Description

Related issues:

In dynamic blocks using the ServerSideRender component, changes to attributes such as block supports should cause the component to be re-rendered.

However, it seems that some block supports are not reflected immediately and require a browser reload.

We still don't know the root cause, but this comment might be the closest to the answer.

Step-by-step reproduction instructions

Below are the test steps for the Calendar block.

  • Add Calendar Block
  • Change the text colour & background colour
  • Now you can not see any changes on the editor side but when we preview we can see the changes in frontend
  • On Refresh the page now we can see the changes in the editor

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Block APIAPI that allows to express the block paradigm.[Package] Server Side Render/packages/server-side-render[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions