mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-09-25 16:30:03 +00:00
fix: disable flowyoverly focusNode
This commit is contained in:
parent
5e6b9496fc
commit
6ded9aafd9
@ -338,7 +338,9 @@ class FlowyOverlayState extends State<FlowyOverlay> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final overlays = _overlayList.map((item) {
|
final overlays = _overlayList.map((item) {
|
||||||
var widget = item.widget;
|
var widget = item.widget;
|
||||||
item.focusNode.requestFocus();
|
|
||||||
|
// requestFocus will cause the children weird focus behaviors.
|
||||||
|
// item.focusNode.requestFocus();
|
||||||
if (item.delegate?.asBarrier() ?? false) {
|
if (item.delegate?.asBarrier() ?? false) {
|
||||||
widget = Container(
|
widget = Container(
|
||||||
color: style.barrierColor,
|
color: style.barrierColor,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user