Skip to content

Commit

Permalink
Prevent new iframe from being recreated on layout change (#3160)
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough authored Feb 26, 2025
1 parent 4533411 commit 15265fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/dartpad_ui/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,7 @@ class _DartPadMainPageState extends State<DartPadMainPage>
late final SplitViewController mainSplitter;
late final TabController tabController;

final ValueKey<String> _executionWidgetKey =
const ValueKey('execution-widget');
final Key _executionWidgetKey = GlobalKey(debugLabel: 'execution-widget');
final ValueKey<String> _loadingOverlayKey =
const ValueKey('loading-overlay-widget');
final ValueKey<String> _editorKey = const ValueKey('editor');
Expand Down

0 comments on commit 15265fe

Please sign in to comment.