@alisowski/react-resizable-panels
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -1520,3 +1520,3 @@ 'use strict'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1523,0 +1523,0 @@ return; |
@@ -1569,3 +1569,3 @@ 'use strict'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1572,0 +1572,0 @@ return; |
@@ -1545,3 +1545,3 @@ import * as React from 'react'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1548,0 +1548,0 @@ return; |
@@ -1496,3 +1496,3 @@ import * as React from 'react'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1499,0 +1499,0 @@ return; |
@@ -1522,3 +1522,3 @@ 'use strict'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1525,0 +1525,0 @@ return; |
@@ -1576,3 +1576,3 @@ 'use strict'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1579,0 +1579,0 @@ return; |
@@ -1552,3 +1552,3 @@ import * as React from 'react'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1555,0 +1555,0 @@ return; |
@@ -1363,3 +1363,3 @@ 'use strict'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1366,0 +1366,0 @@ return; |
@@ -1339,3 +1339,3 @@ import * as React from 'react'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1342,0 +1342,0 @@ return; |
@@ -1498,3 +1498,3 @@ import * as React from 'react'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1501,0 +1501,0 @@ return; |
@@ -1313,3 +1313,3 @@ 'use strict'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1316,0 +1316,0 @@ return; |
@@ -1289,3 +1289,3 @@ import * as React from 'react'; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -1292,0 +1292,0 @@ return; |
{ | ||
"name": "@alisowski/react-resizable-panels", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -748,3 +748,3 @@ import { isBrowser } from "#is-browser"; | ||
const currentSize = prevSizes[index]; | ||
if (currentSize !== collapsedSize) { | ||
if (currentSize !== collapsedSize && currentSize >= minSize) { | ||
// Panel is already expanded. | ||
@@ -751,0 +751,0 @@ return; |
824473