New to KendoReact? Learn about KendoReact Free.
Initial Focus
Updated on Oct 27, 2026
The KendoReact Window can move focus to its container when it opens and return focus to the previously focused element when it closes.
By default, the Window focuses its container when it mounts. To keep the focus on the element that opened the Window, set the autoFocus property to false.
The following example sets the autoFocus property of the Window to false and the autoFocus property of the first input inside the Window to true, so the focus moves to the input when the Window opens.
Loading ...