File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/components/PassingDataSimulator Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,9 @@ export default function PassingDataSimulator({
7070 setCurrentLine ( 8 ) ; // $result = yield activity(...)
7171 await delay ( 1000 ) ;
7272
73- // Step 3: Switch to activity
73+ // Step 3: Switch to activity - clear line first to prevent flash
74+ setCurrentLine ( - 1 ) ;
75+ await delay ( 50 ) ; // Small delay to ensure render completes
7476 setCurrentFile ( 'activity' ) ;
7577 setCurrentLine ( 5 ) ; // public function execute($name)
7678 await delay ( 800 ) ;
@@ -79,7 +81,9 @@ export default function PassingDataSimulator({
7981 setCurrentLine ( 7 ) ; // return "Hello, {$name}!";
8082 await delay ( 1000 ) ;
8183
82- // Step 5: Back to workflow
84+ // Step 5: Back to workflow - clear line first to prevent flash
85+ setCurrentLine ( - 1 ) ;
86+ await delay ( 50 ) ; // Small delay to ensure render completes
8387 setCurrentFile ( 'workflow' ) ;
8488 setCurrentLine ( 10 ) ; // return $result;
8589 await delay ( 800 ) ;
You can’t perform that action at this time.
0 commit comments