@devries-cameron20 / t3code-1 / commits / 6dc14625b5
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): model picker no longer jumps at the end of its open animation (#19506)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

Claudesaul committed Oct 20, 2026 at 00:12 UTC 6dc14625b550564967f5071a2b60841e637a5c54
2 files changed +32 -12
patches/@legendapp__list@3.3.5.patch
+28 -8
@@ -1447,7 +1447,7 @@ index 95465f2..d7cbe1c 100644
1447 }
1448 }
1449 diff --git a/react.js b/react.js
1450 -index 914d2da..0c2917d 100644
1450 +index 914d2da..86dbd9a 100644
1451 --- a/react.js
1452 +++ b/react.js
1453 @@ -4702,7 +4702,8 @@ function maybeUpdateAnchoredEndSpace(ctx) {
@@ -1473,7 +1473,17 @@ index 914d2da..0c2917d 100644
1473 }
1474 return nextSize;
1475 }
1476 -@@ -5651,6 +5658,18 @@ var ContainerSlot = typedMemo(function ContainerSlot2(props) {
1476 +@@ -4956,7 +4963,8 @@ function measureContainersInLayoutEffect(ctx, targetContainerIds = null) {
1477 + const itemKey = peek$(ctx, `containerItemKey${containerId}`);
1478 + const element = viewRef == null ? void 0 : viewRef.current;
1479 + if (itemKey !== void 0 && element) {
1480 +- const rect = element.getBoundingClientRect();
1481 ++ // Unlike getBoundingClientRect, offset sizes ignore ancestor transforms (e.g. a popup's zoom-in), like ResizeObserver.
1482 ++ const rect = { height: element.offsetHeight, width: element.offsetWidth };
1483 + setContainerLayoutBaseline(element, rect);
1484 + measurements.push({
1485 + containerId,
1486 +@@ -5651,6 +5659,18 @@ var ContainerSlot = typedMemo(function ContainerSlot2(props) {
1487 });
1488
1489 // src/utils/reordering.ts
@@ -1492,7 +1502,7 @@ index 914d2da..0c2917d 100644
1502 function sortDOMElements(container, indexByElement) {
1503 const elements = Array.from(container.children);
1504 if (elements.length <= 1) return elements;
1495 -@@ -5690,9 +5709,9 @@ function sortDOMElements(container, indexByElement) {
1505 +@@ -5690,9 +5710,9 @@ function sortDOMElements(container, indexByElement) {
1506 }
1507 }
1508 if (nextStableElement) {
@@ -1504,7 +1514,7 @@ index 914d2da..0c2917d 100644
1514 }
1515 }
1516 }
1507 -@@ -6446,8 +6465,8 @@ function ScrollAdjust() {
1517 +@@ -6446,8 +6466,8 @@ function ScrollAdjust() {
1518 window.getComputedStyle(contentNode)[axis.paddingEndProp]
1519 );
1520 const temporaryPaddingEnd = `${(currentPaddingEnd || 0) + pad}px`;
@@ -1515,7 +1525,7 @@ index 914d2da..0c2917d 100644
1525 scrollBy();
1526 if (resetPaddingRafRef.current !== void 0) {
1527 diff --git a/react.mjs b/react.mjs
1518 -index 95465f2..b73bfdf 100644
1528 +index 95465f2..cff49dc 100644
1529 --- a/react.mjs
1530 +++ b/react.mjs
1531 @@ -4681,7 +4681,8 @@ function maybeUpdateAnchoredEndSpace(ctx) {
@@ -1541,7 +1551,17 @@ index 95465f2..b73bfdf 100644
1551 }
1552 return nextSize;
1553 }
1544 -@@ -5630,6 +5637,18 @@ var ContainerSlot = typedMemo(function ContainerSlot2(props) {
1554 +@@ -4935,7 +4942,8 @@ function measureContainersInLayoutEffect(ctx, targetContainerIds = null) {
1555 + const itemKey = peek$(ctx, `containerItemKey${containerId}`);
1556 + const element = viewRef == null ? void 0 : viewRef.current;
1557 + if (itemKey !== void 0 && element) {
1558 +- const rect = element.getBoundingClientRect();
1559 ++ // Unlike getBoundingClientRect, offset sizes ignore ancestor transforms (e.g. a popup's zoom-in), like ResizeObserver.
1560 ++ const rect = { height: element.offsetHeight, width: element.offsetWidth };
1561 + setContainerLayoutBaseline(element, rect);
1562 + measurements.push({
1563 + containerId,
1564 +@@ -5630,6 +5638,18 @@ var ContainerSlot = typedMemo(function ContainerSlot2(props) {
1565 });
1566
1567 // src/utils/reordering.ts
@@ -1560,7 +1580,7 @@ index 95465f2..b73bfdf 100644
1580 function sortDOMElements(container, indexByElement) {
1581 const elements = Array.from(container.children);
1582 if (elements.length <= 1) return elements;
1563 -@@ -5669,9 +5688,9 @@ function sortDOMElements(container, indexByElement) {
1583 +@@ -5669,9 +5689,9 @@ function sortDOMElements(container, indexByElement) {
1584 }
1585 }
1586 if (nextStableElement) {
@@ -1572,7 +1592,7 @@ index 95465f2..b73bfdf 100644
1592 }
1593 }
1594 }
1575 -@@ -6425,8 +6444,8 @@ function ScrollAdjust() {
1595 +@@ -6425,8 +6445,8 @@ function ScrollAdjust() {
1596 window.getComputedStyle(contentNode)[axis.paddingEndProp]
1597 );
1598 const temporaryPaddingEnd = `${(currentPaddingEnd || 0) + pad}px`;
pnpm-lock.yaml
+4 -4
@@ -172,7 +172,7 @@ patchedDependencies:
172 '@expo/metro-config@58.0.14': 90fa980e8b6480631fb2fbb04559834e3c612db40c550cd828f11be297d8d760
173 '@expo/ui@58.0.20': 5a26480373850c1a7943919aa21f904151b335a0cb01042109e0746def37923e
174 '@ff-labs/fff-node@0.11.0': cc71fcec015f4d39bc96ae2e2bf6b0ca678124c722c66a7841efce9d34b5983c
175 - '@legendapp/list@3.3.5': 680cc6a5c5b4a4032e467e7b3fde22f89a84c0ee2e6eac6fda737d6277cc0806
175 + '@legendapp/list@3.3.5': e6383c516a0d67b65333d6fd38d2203734bf24b054b0b0767b034189205aed32
176 '@pierre/diffs@1.5.2': 2ec81ba1e8ce4681095a3473c2bf78e630417740c622720ef624febb467c25fc
177 '@react-native-ai/apple@0.12.0': 2d09870c2848d185cb05b53ed823a46e12dba519324d8dd8e584e28731990f9d
178 '@react-native-menu/menu@2.0.0': a4866ecfcd44f318043de839d20110c17e14909004900f002ffe12050376f2ba
@@ -352,7 +352,7 @@ importers:
352 version: 58.0.20(patch_hash=5a26480373850c1a7943919aa21f904151b335a0cb01042109e0746def37923e)(@babel/core@7.29.7)(expo@58.0.14)(react-dom@19.3.0(react@19.3.0))(react-native-worklets@0.13.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(utf-8-validate@6.0.6))(react@19.3.0))(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(utf-8-validate@6.0.6))(react@19.3.0)
353 '@legendapp/list':
354 specifier: 'catalog:'
355 - version: 3.3.5(patch_hash=680cc6a5c5b4a4032e467e7b3fde22f89a84c0ee2e6eac6fda737d6277cc0806)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(utf-8-validate@6.0.6))(react@19.3.0)
355 + version: 3.3.5(patch_hash=e6383c516a0d67b65333d6fd38d2203734bf24b054b0b0767b034189205aed32)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(utf-8-validate@6.0.6))(react@19.3.0)
356 '@material/material-color-utilities':
357 specifier: 0.3.0
358 version: 0.3.0
@@ -843,7 +843,7 @@ importers:
843 version: 0.9.0
844 '@legendapp/list':
845 specifier: 'catalog:'
846 - version: 3.3.5(patch_hash=680cc6a5c5b4a4032e467e7b3fde22f89a84c0ee2e6eac6fda737d6277cc0806)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(utf-8-validate@6.0.6))(react@19.3.0)
846 + version: 3.3.5(patch_hash=e6383c516a0d67b65333d6fd38d2203734bf24b054b0b0767b034189205aed32)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(utf-8-validate@6.0.6))(react@19.3.0)
847 '@noble/hashes':
848 specifier: 'catalog:'
849 version: 1.8.0
@@ -15377,7 +15377,7 @@ snapshots:
15377 dependencies:
15378 jsbi: 4.3.2
15379
15380 - '@legendapp/list@3.3.5(patch_hash=680cc6a5c5b4a4032e467e7b3fde22f89a84c0ee2e6eac6fda737d6277cc0806)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(utf-8-validate@6.0.6))(react@19.3.0)':
15380 + '@legendapp/list@3.3.5(patch_hash=e6383c516a0d67b65333d6fd38d2203734bf24b054b0b0767b034189205aed32)(react-dom@19.3.0(react@19.3.0))(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(utf-8-validate@6.0.6))(react@19.3.0)':
15381 dependencies:
15382 react: 19.3.0
15383 use-sync-external-store: 1.6.0(react@19.3.0)