codesandbox / codesandbox/codesandbox-client

Sandbox is not refreshing the html as expected

Open
#7,691 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

🐛 bug report

In this sandbox:
https://codesandbox.io/embed/bug-issue-gypfr5?fontsize=14&hidenavigation=1&theme=dark&module=index.html

When try to change the html, there is a strange flicking, but the change i made in the html file is not reflecting on the right side for some reason, This thing used to work for sure, so i guess something changed?

Can you please try to understand what is wrong, because it's critical basic flow of codesandbox.

https://github.com/codesandbox/codesandbox-client/assets/8341557/0f86c3d0-4162-40bd-bde5-b6e73519d05e

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked CodeSandbox and reproduce the flickering while editing index.html, then inspect the client area responsible for updating the preview. The issue is done when HTML edits reliably appear in the right-side preview without flickering or becoming stale.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.