react-resizable-panels 4.7.1 → 4.7.2

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.
@@ -1013,7 +1013,9 @@ function Te(e) {
1013
1013
  );
1014
1014
  L(a !== null, "Index not found");
1015
1015
  const u = e.shiftKey ? a > 0 ? a - 1 : r.length - 1 : a + 1 < r.length ? a + 1 : 0;
1016
- r[u].focus();
1016
+ r[u].focus({
1017
+ preventScroll: !0
1018
+ });
1017
1019
  break;
1018
1020
  }
1019
1021
  case "Home": {
@@ -1055,7 +1057,9 @@ function Oe(e) {
1055
1057
  const t = U(), n = ve(e, t), o = /* @__PURE__ */ new Map();
1056
1058
  let r = !1;
1057
1059
  n.forEach((a) => {
1058
- a.separator && (r || (r = !0, a.separator.element.focus()));
1060
+ a.separator && (r || (r = !0, a.separator.element.focus({
1061
+ preventScroll: !0
1062
+ })));
1059
1063
  const u = t.get(a.group);
1060
1064
  u && o.set(a.group, u.layout);
1061
1065
  }), Z({