You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When switching between files in the SandpackFileExplorer or in the SandpackCodeEditor tabs and initMode is "user-visible" or "lazy" there is a brief flickering before the component renders correctly. This is not something that occurs when initMode is "immediate".
What steps can we take to reproduce the problem?
Change options.initMode to "user-visible" or "lazy" in SandpackProvider.
This is also reproducible in the Sandpack documentation, as this example does not have flickering, but this one does.
Bug report
Packages affected
Description of the problem
When switching between files in the
SandpackFileExplorer
or in theSandpackCodeEditor
tabs and initMode is "user-visible" or "lazy" there is a brief flickering before the component renders correctly. This is not something that occurs when initMode is "immediate".What steps can we take to reproduce the problem?
Change
options.initMode
to "user-visible" or "lazy" inSandpackProvider
.This is also reproducible in the Sandpack documentation, as this example does not have flickering, but this one does.
Link to sandbox: link
Your Environment
The text was updated successfully, but these errors were encountered: