mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-11-03 19:43:52 +00:00 
			
		
		
		
	feat: unfocus CreateOptionTextField when popover state changes
This commit is contained in:
		
							parent
							
								
									1a53a0e375
								
							
						
					
					
						commit
						16a8dbc6ce
					
				@ -289,6 +289,11 @@ class __CreateOptionTextFieldState extends State<_CreateOptionTextField> {
 | 
			
		||||
        widget.popoverMutex?.close();
 | 
			
		||||
      }
 | 
			
		||||
    });
 | 
			
		||||
    widget.popoverMutex?.listenOnPopoverChanged(() {
 | 
			
		||||
      if (_focusNode.hasFocus) {
 | 
			
		||||
        _focusNode.unfocus();
 | 
			
		||||
      }
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @override
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user