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
{{ message }}
This repository was archived by the owner on May 5, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -247,6 +247,13 @@ To determine whether parent component should focus the first available child com
247
247
***true (default)**
248
248
***false**
249
249
250
+
##### `blockNavigationOut`: boolean
251
+
Disable the navigation out from the selected component. It can be useful when a user opens a popup (or screen) and you don't want to allow the user to focus other components outside this area.
252
+
253
+
It doesn't block focus set programmatically by `setFocus`.
254
+
***false (default)**
255
+
***true**
256
+
250
257
## Props that can be applied to HOC
251
258
All these props are optional.
252
259
@@ -259,6 +266,9 @@ Same as in [config](#config).
259
266
### `autoRestoreFocus`: boolean
260
267
Same as in [config](#config).
261
268
269
+
### `blockNavigationOut`: boolean
270
+
Same as in [config](#config).
271
+
262
272
### `focusable`: boolean
263
273
Determine whether this component should be focusable (in other words, whether it's *currently* participating in the spatial navigation tree). This allows a focusable component to be ignored as a navigation target despite being mounted (e.g. due to being off-screen, hidden, or temporarily disabled).
0 commit comments