mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Merge pull request #888 from AppFlowy-IO/fix/disable_overlay_focus_node
fix: disable flowyoverly focusNode
This commit is contained in:
commit
c532fd4124
@ -338,7 +338,9 @@ class FlowyOverlayState extends State<FlowyOverlay> {
|
||||
Widget build(BuildContext context) {
|
||||
final overlays = _overlayList.map((item) {
|
||||
var widget = item.widget;
|
||||
item.focusNode.requestFocus();
|
||||
|
||||
// requestFocus will cause the children weird focus behaviors.
|
||||
// item.focusNode.requestFocus();
|
||||
if (item.delegate?.asBarrier() ?? false) {
|
||||
widget = Container(
|
||||
color: style.barrierColor,
|
||||
|
Loading…
Reference in New Issue
Block a user