authorgravatar for me@t3.ggTheo Browne <me@t3.gg> 2026-08-24 03:01:11-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-24 03:01:11-07:00
logc0047c252f35875476e2478bb4df6af9dd6fcb6a
tree75a1bcfa2b5fbd6ea4c3f24dffb6b3d39574ea04
parent6f5c951a494e6ed0111222959a4bd9c7c8af6c23
signature Signed by PGP key B5690EEEBB952194

fix(web): stop follow-ups from leaving giant blank space (#8068)


2 files changed, 25 insertions(+), 5 deletions(-)

patches/@legendapp__list@3.3.5.patch+20
......@@ -945,6 +945,16 @@ index 914d2dafaafa001c9ab6791a0a0581659295e333..06466096ceb96ef8773f7f7e202a19c9
945945 }
946946 return nextSize;
947947 }
948@@ -6448,8 +6455,8 @@ function ScrollAdjust() {
949 window.getComputedStyle(contentNode)[axis.paddingEndProp]
950 );
951 const temporaryPaddingEnd = `${(currentPaddingEnd || 0) + pad}px`;
952- temporaryPaddingRef.current = { baseline: baselinePaddingEnd, value: temporaryPaddingEnd };
953 contentNode.style[axis.paddingEndProp] = temporaryPaddingEnd;
954+ temporaryPaddingRef.current = { baseline: baselinePaddingEnd, value: contentNode.style[axis.paddingEndProp] };
955 void contentNode.offsetHeight;
956 scrollBy();
957 if (resetPaddingRafRef.current !== void 0) {
948958diff --git a/react.mjs b/react.mjs
949959index 95465f2ab89ce41a10553f58af83618f7310e83c..4b5f06c60f1e8bbd9035a49980d9e86820262da4 100644
950960--- a/react.mjs
......@@ -973,6 +983,16 @@ index 95465f2ab89ce41a10553f58af83618f7310e83c..4b5f06c60f1e8bbd9035a49980d9e868
973983 }
974984 return nextSize;
975985 }
986@@ -6427,8 +6434,8 @@ function ScrollAdjust() {
987 window.getComputedStyle(contentNode)[axis.paddingEndProp]
988 );
989 const temporaryPaddingEnd = `${(currentPaddingEnd || 0) + pad}px`;
990- temporaryPaddingRef.current = { baseline: baselinePaddingEnd, value: temporaryPaddingEnd };
991 contentNode.style[axis.paddingEndProp] = temporaryPaddingEnd;
992+ temporaryPaddingRef.current = { baseline: baselinePaddingEnd, value: contentNode.style[axis.paddingEndProp] };
993 void contentNode.offsetHeight;
994 scrollBy();
995 if (resetPaddingRafRef.current !== void 0) {
976996diff --git a/reanimated.d.ts b/reanimated.d.ts
977997index e5043320700b12f34f4c0babbc341f85ca8135c1..2ce63830a28636b21937a0741fd0e613dae950fe 100644
978998--- a/reanimated.d.ts
pnpm-lock.yaml+5-5
......@@ -84,7 +84,7 @@ patchedDependencies:
8484 '@effect/vitest@4.0.0-beta.103': a16b1e870d8c29e4a98b17cc4c638a4ff471753d8ca3487f78a22b759caf951b
8585 '@expo/metro-config@56.0.14': 8cb08b5bb7051ed9d2dbe46a2c293c5a1e17f1bd6ddf30de27909e18c921ff46
8686 '@ff-labs/fff-node@0.9.4': ab9ff544009e1891cfe3930105862d3699007f38922a79f3c98d90018deca368
87 '@legendapp/list@3.3.5': 3362284f1fca70407e7c594cb8db04086bfebff5de10568f85c08661d405deee
87 '@legendapp/list@3.3.5': 064530db83875fa671559a81ae42dc159726dc2dd6ec4c982da44ff7c7a74706
8888 '@pierre/diffs@1.3.0-beta.10': 7ef7cb0cbabb17c15cdb137554068b36f15f6f5265e73fb51452aa3380db91aa
8989 '@react-native-menu/menu@2.0.0': c7f66d121c726ade4f5c4e1aed11a691e5711d244c544084e289ac26132a0045
9090 '@react-native/gradle-plugin@0.85.3': c1b594a16e682d621b6a960926f8ce13fc92edfb397884cfe7fcb0518996a784
......@@ -224,7 +224,7 @@ importers:
224224 version: 56.0.18(3cdc0dde9f93166d952f1e1bd0cb25c0)
225225 '@legendapp/list':
226226 specifier: 'catalog:'
227 version: 3.3.5(patch_hash=3362284f1fca70407e7c594cb8db04086bfebff5de10568f85c08661d405deee)(react-dom@19.2.3(react@19.2.3))(react-native@0.85.3(@babel/core@7.29.7)(@react-native/metro-config@0.85.3(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.2.16)(bufferutil@4.1.0)(react@19.2.3)(utf-8-validate@6.0.6))(react@19.2.3)
227 version: 3.3.5(patch_hash=064530db83875fa671559a81ae42dc159726dc2dd6ec4c982da44ff7c7a74706)(react-dom@19.2.3(react@19.2.3))(react-native@0.85.3(@babel/core@7.29.7)(@react-native/metro-config@0.85.3(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.2.16)(bufferutil@4.1.0)(react@19.2.3)(utf-8-validate@6.0.6))(react@19.2.3)
228228 '@noble/curves':
229229 specifier: 'catalog:'
230230 version: 1.9.1
......@@ -553,7 +553,7 @@ importers:
553553 version: 0.9.0
554554 '@legendapp/list':
555555 specifier: 'catalog:'
556 version: 3.3.5(patch_hash=3362284f1fca70407e7c594cb8db04086bfebff5de10568f85c08661d405deee)(react-dom@19.2.6(react@19.2.6))(react@19.2.6)
556 version: 3.3.5(patch_hash=064530db83875fa671559a81ae42dc159726dc2dd6ec4c982da44ff7c7a74706)(react-dom@19.2.6(react@19.2.6))(react@19.2.6)
557557 '@lexical/react':
558558 specifier: ^0.41.0
559559 version: 0.41.0(react-dom@19.2.6(react@19.2.6))(react@19.2.6)(yjs@13.6.31)
......@@ -12946,7 +12946,7 @@ snapshots:
1294612946 dependencies:
1294712947 jsbi: 4.3.2
1294812948
12949 '@legendapp/list@3.3.5(patch_hash=3362284f1fca70407e7c594cb8db04086bfebff5de10568f85c08661d405deee)(react-dom@19.2.3(react@19.2.3))(react-native@0.85.3(@babel/core@7.29.7)(@react-native/metro-config@0.85.3(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.2.16)(bufferutil@4.1.0)(react@19.2.3)(utf-8-validate@6.0.6))(react@19.2.3)':
12949 '@legendapp/list@3.3.5(patch_hash=064530db83875fa671559a81ae42dc159726dc2dd6ec4c982da44ff7c7a74706)(react-dom@19.2.3(react@19.2.3))(react-native@0.85.3(@babel/core@7.29.7)(@react-native/metro-config@0.85.3(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.2.16)(bufferutil@4.1.0)(react@19.2.3)(utf-8-validate@6.0.6))(react@19.2.3)':
1295012950 dependencies:
1295112951 react: 19.2.3
1295212952 use-sync-external-store: 1.6.0(react@19.2.3)
......@@ -12954,7 +12954,7 @@ snapshots:
1295412954 react-dom: 19.2.3(react@19.2.3)
1295512955 react-native: 0.85.3(@babel/core@7.29.7)(@react-native/metro-config@0.85.3(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.2.16)(bufferutil@4.1.0)(react@19.2.3)(utf-8-validate@6.0.6)
1295612956
12957 '@legendapp/list@3.3.5(patch_hash=3362284f1fca70407e7c594cb8db04086bfebff5de10568f85c08661d405deee)(react-dom@19.2.6(react@19.2.6))(react@19.2.6)':
12957 '@legendapp/list@3.3.5(patch_hash=064530db83875fa671559a81ae42dc159726dc2dd6ec4c982da44ff7c7a74706)(react-dom@19.2.6(react@19.2.6))(react@19.2.6)':
1295812958 dependencies:
1295912959 react: 19.2.6
1296012960 use-sync-external-store: 1.6.0(react@19.2.6)