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
A builder who uses TreeList's accepted onKeyDown prop to reserve a key cannot cancel the built-in tree behavior. Calling preventDefault() for ArrowDown still moves focus to the next tree item before the consumer handler runs, so a keyboard user gets navigation the app explicitly tried to suppress. The handler type-checks and fires; nothing warns that cancellation is too late.
Current main
At cddf57e5, ...restProps puts the consumer handler on the outer <div>, while handleKeyDown runs on the inner ul[role="tree"]. The event reaches the inner handler first and bubbles outward only after focus and roving tabindex have changed.
Activity
fix(TreeList): let a consumer onKeyDown cancel built-in navigation
fix(TreeList): keep the consumer onKeyDown on the root, use capture p…
fix(TreeList): keep the consumer onKeyDown on the root, use capture p…