@rive-app/canvas-single 2.42.1 → 2.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,8 @@ export interface KeyboardInteractionsParams {
5
5
  /**
6
6
  * Whether this canvas has focus nodes that should participate in tab traversal.
7
7
  * When true, Tab/Shift+Tab will be intercepted and routed to the Rive focus manager.
8
- * focusNext() returning false means no more traversable nodes tab is released to the page.
8
+ * Tab is released to the page only when focusNext() returns false and Rive no longer holds
9
+ * focus; a Stop edge also returns false but keeps focus, so Tab stays trapped.
9
10
  */
10
11
  hasFocusNodes: boolean;
11
12
  /**
@@ -27,7 +28,8 @@ export interface KeyboardInteractionsParams {
27
28
  * in the overlay, and by keyboard focus whose entry attempt found no eligible node.
28
29
  * RiveFocused — a Rive node holds focus. Tab/Shift+Tab route to the Rive focus manager and stay
29
30
  * inside the domain until either Rive reports focus ended (pollFocusState) or
30
- * focusNext()/focusPrevious() returns false at the edge of the tree.
31
+ * Tab walks off the edge of the tree (focusNext()/focusPrevious() returns false and
32
+ * Rive no longer holds focus).
31
33
  *
32
34
  * Keyboard focus on the canvas enters the tree immediately: onCanvasFocus infers direction from
33
35
  * where focus came from and goes straight to RiveFocused when a node accepts.