autoFocus property

bool autoFocus
final

Whether automatic keyboard focus management is enabled on route transitions.

When true (the default), moves keyboard focus to the new page content upon client-side navigation. Prefers elements matching [data-bloom-focus], h1, main, or document.body. Initial page load is skipped.

Implementation

final bool autoFocus;