@poolse/react-native 2.23.0 → 2.23.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.
- package/CHANGELOG.md +10 -0
- package/dist/index.cjs +20 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +20 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ All notable changes to `@poolse/react-native` are documented here.
|
|
|
4
4
|
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/);
|
|
5
5
|
versions follow [semver](https://semver.org).
|
|
6
6
|
|
|
7
|
+
## [2.23.1] — 2026-10-14
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **The 2x2 video grid's bottom row sat under Android's navigation
|
|
12
|
+
bar.** The filling grid spanned the whole edge-to-edge window; it
|
|
13
|
+
now pads by the safe area, so tiles never sit under system UI. The
|
|
14
|
+
auto-hiding call chrome may still float over a tile — tap to clear
|
|
15
|
+
it — but the OS bars never cover a face.
|
|
16
|
+
|
|
7
17
|
## [2.23.0] — 2026-10-14
|
|
8
18
|
|
|
9
19
|
### Fixed
|
package/dist/index.cjs
CHANGED
|
@@ -5791,7 +5791,10 @@ function CallVideoGrid({
|
|
|
5791
5791
|
const others = react.useMemo(() => participants.filter((p) => !p.isSelf), [participants]);
|
|
5792
5792
|
const columns = others.length + 1 <= 6 ? 2 : 3;
|
|
5793
5793
|
const rows = Math.ceil((others.length + 1) / columns);
|
|
5794
|
-
const
|
|
5794
|
+
const padTop = safeArea?.top ?? 0;
|
|
5795
|
+
const padBottom = safeArea?.bottom ?? 0;
|
|
5796
|
+
const availableHeight = size.height > 0 ? size.height - padTop - padBottom : 0;
|
|
5797
|
+
const tileHeight = availableHeight > 0 ? (availableHeight - GAP * (rows - 1)) / rows : 0;
|
|
5795
5798
|
const scrolls = tileHeight > 0 && tileHeight < MIN_TILE_HEIGHT;
|
|
5796
5799
|
if (participants.length === 0) return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles30.stage, onLayout });
|
|
5797
5800
|
if (others.length <= 1) {
|
|
@@ -5839,17 +5842,24 @@ function CallVideoGrid({
|
|
|
5839
5842
|
},
|
|
5840
5843
|
participant.userId
|
|
5841
5844
|
)) });
|
|
5842
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5843
|
-
reactNative.
|
|
5845
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5846
|
+
reactNative.View,
|
|
5844
5847
|
{
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5848
|
+
style: [styles30.stage, { paddingTop: padTop, paddingBottom: padBottom }],
|
|
5849
|
+
onLayout,
|
|
5850
|
+
children: scrolls ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5851
|
+
reactNative.ScrollView,
|
|
5852
|
+
{
|
|
5853
|
+
contentContainerStyle: [
|
|
5854
|
+
styles30.scroll,
|
|
5855
|
+
{ paddingBottom: (chromeInsets?.bottom ?? 0) + GAP }
|
|
5856
|
+
],
|
|
5857
|
+
showsVerticalScrollIndicator: false,
|
|
5858
|
+
children: grid
|
|
5859
|
+
}
|
|
5860
|
+
) : grid
|
|
5851
5861
|
}
|
|
5852
|
-
)
|
|
5862
|
+
);
|
|
5853
5863
|
}
|
|
5854
5864
|
var styles30 = reactNative.StyleSheet.create({
|
|
5855
5865
|
stage: { flex: 1, overflow: "hidden" },
|