Skip to content

Commit 6ded9aa

Browse files
committed
fix: disable flowyoverly focusNode
1 parent 5e6b949 commit 6ded9aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/app_flowy/packages/flowy_infra_ui/lib/src/flowy_overlay/flowy_overlay.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,9 @@ class FlowyOverlayState extends State<FlowyOverlay> {
338338
Widget build(BuildContext context) {
339339
final overlays = _overlayList.map((item) {
340340
var widget = item.widget;
341-
item.focusNode.requestFocus();
341+
342+
// requestFocus will cause the children weird focus behaviors.
343+
// item.focusNode.requestFocus();
342344
if (item.delegate?.asBarrier() ?? false) {
343345
widget = Container(
344346
color: style.barrierColor,

0 commit comments

Comments
 (0)