Skip to content

Commit

Permalink
Revert "NonReparentingFocus - Reparent focus node in deactivate to ma…
Browse files Browse the repository at this point in the history
…tch framework (#1969)
  • Loading branch information
knopp committed Apr 24, 2024
1 parent e2e03eb commit 76c6562
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions super_editor/lib/src/infrastructure/focus.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@ class _NonReparentingFocusState extends State<NonReparentingFocus> {
_reparentIfMissingParent();
}

@override
void deactivate() {
super.deactivate();
// See _FocusState.deactivate.
_keyboardFocusAttachment.reparent();
}

@override
void didUpdateWidget(NonReparentingFocus oldWidget) {
super.didUpdateWidget(oldWidget);
Expand Down

0 comments on commit 76c6562

Please sign in to comment.