@@ -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
0 commit comments