react-resizable-panels 4.22.0 → 4.22.1

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.
@@ -2958,8 +2958,9 @@ export declare type WorkspaceProps<TabData = unknown, TabsetData = unknown> = Om
2958
2958
  * ⚠️ Merge `className` and `style` rather than replacing them (e.g. `style={{ ...props.style, padding: 4 }}`):
2959
2959
  * they include the `tab` entries of the `classNames` and `styles` props, and `style` includes the `touch-action` that touch dragging depends on.
2960
2960
  *
2961
- * ℹ️ Pointer and keyboard events from interactive descendants (`button` elements, `role="button"`, or elements with a `data-tab-ignore` attribute) are ignored,
2962
- * so clicking a button within a tab doesn't select or drag it.
2961
+ * ℹ️ Pointer events from interactive descendants (`button` elements, form controls such as `input` (and the `label` elements of form controls), editable content, elements with a `button` or form control role such as `role="checkbox"`, or elements with a `data-tab-ignore` attribute) are ignored,
2962
+ * so clicking a button within a tab doesn't select or drag it, and pressing within an input (e.g. one used to rename the tab) doesn't start a drag.
2963
+ * Keys pressed within any descendant (rather than the tab itself) are left to it, so they don't move focus between tabs or close the tab.
2963
2964
  *
2964
2965
  * ℹ️ When this prop is not provided, tabs show their title (or id) followed by a `TabCloseButton`.
2965
2966
  */