mirror of
https://github.com/foss42/apidash.git
synced 2025-08-05 21:10:33 +08:00
fix: TextFieldEditor OnTapOutside
This commit is contained in:
@ -72,6 +72,9 @@ class _TextFieldEditorState extends State<TextFieldEditor> {
|
||||
style: kCodeStyle,
|
||||
textAlignVertical: TextAlignVertical.top,
|
||||
onChanged: widget.onChanged,
|
||||
onTapOutside: (PointerDownEvent event) {
|
||||
editorFocusNode.unfocus();
|
||||
},
|
||||
decoration: InputDecoration(
|
||||
hintText: "Enter content (body)",
|
||||
hintStyle: TextStyle(
|
||||
|
Reference in New Issue
Block a user