You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/13.x-alpha/docs/api/events/user-event.mdx
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,7 @@ type(
82
82
options?: {
83
83
skipPress?: boolean
84
84
submitEditing?:boolean
85
+
skipBlur?:boolean;
85
86
}
86
87
```
87
88
@@ -104,6 +105,7 @@ This function will add text to the text already present in the text input (as sp
104
105
105
106
- `skipPress` - if true, `pressIn` and `pressOut` events will not be triggered.
106
107
- `submitEditing` - if true, `submitEditing` event will be triggered after typing the text.
108
+
- `skipBlur` - if true, `endEditing` and `blur` events will not be triggered when typing is complete. This is useful in scenarios where you want to prevent the TextInput from losing focus or avoid triggering certain actions associated with blur events.
107
109
108
110
### Sequence of events {#type-sequence}
109
111
@@ -134,6 +136,7 @@ The `pressIn` and `pressOut` events are sent by default but can be skipped by pa
134
136
- `blur`
135
137
136
138
The `submitEditing` event is skipped by default. It can sent by setting the `submitEditing: true` option.
139
+
The `endEditing` and `blur` events can also be skipped by passing the `skipBlur: true` option.
0 commit comments