react-resizable-panels 4.3.2 → 4.3.3

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.
@@ -1036,7 +1036,6 @@ function we(e) {
1036
1036
  return;
1037
1037
  if (e.pointerType === "mouse" && e.button > 0)
1038
1038
  return;
1039
- e.preventDefault();
1040
1039
  const { interactionState: t } = D();
1041
1040
  switch (t.state) {
1042
1041
  case "active":
@@ -1045,7 +1044,7 @@ function we(e) {
1045
1044
  interactionState: {
1046
1045
  state: "inactive"
1047
1046
  }
1048
- }), ue(e.currentTarget);
1047
+ }), t.hitRegions.length > 0 && (ue(e.currentTarget), e.preventDefault());
1049
1048
  }
1050
1049
  }
1051
1050
  function Le(e) {