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 authored and matthew-carroll committed Apr 25, 2024
1 parent b9b0e1f commit 45acebd
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 45acebd

Please sign in to comment.