Skip to content

Commit 35acb58

Browse files
committed
Add support for onScrollEnd event (#26789)
## Summary This adds support for the new [scrollend](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollend_event) event. It was recently added to the spec, and is currently supported in Firefox 109 and Chrome Canary (shipping in Chrome 114). You can read more about this event [here](https://developer.chrome.com/blog/scrollend-a-new-javascript-event/). This PR adds support for the `onScrollEnd` prop, following the implementation for `onScroll`. ## How did you test this change? Added unit tests. DiffTrain build for commit 537228f.
1 parent 7717799 commit 35acb58

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24780,7 +24780,7 @@ function createFiberRoot(
2478024780
return root;
2478124781
}
2478224782

24783-
var ReactVersion = "18.3.0-canary-be67db46b-20231010";
24783+
var ReactVersion = "18.3.0-canary-537228f9f-20231010";
2478424784

2478524785
// Might add PROFILE later.
2478624786

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8979,7 +8979,7 @@ var devToolsConfig$jscomp$inline_1008 = {
89798979
throw Error("TestRenderer does not support findFiberByHostInstance()");
89808980
},
89818981
bundleType: 0,
8982-
version: "18.3.0-canary-be67db46b-20231010",
8982+
version: "18.3.0-canary-537228f9f-20231010",
89838983
rendererPackageName: "react-test-renderer"
89848984
};
89858985
var internals$jscomp$inline_1201 = {
@@ -9010,7 +9010,7 @@ var internals$jscomp$inline_1201 = {
90109010
scheduleRoot: null,
90119011
setRefreshHandler: null,
90129012
getCurrentFiber: null,
9013-
reconcilerVersion: "18.3.0-canary-be67db46b-20231010"
9013+
reconcilerVersion: "18.3.0-canary-537228f9f-20231010"
90149014
};
90159015
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
90169016
var hook$jscomp$inline_1202 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9405,7 +9405,7 @@ var devToolsConfig$jscomp$inline_1050 = {
94059405
throw Error("TestRenderer does not support findFiberByHostInstance()");
94069406
},
94079407
bundleType: 0,
9408-
version: "18.3.0-canary-be67db46b-20231010",
9408+
version: "18.3.0-canary-537228f9f-20231010",
94099409
rendererPackageName: "react-test-renderer"
94109410
};
94119411
var internals$jscomp$inline_1242 = {
@@ -9436,7 +9436,7 @@ var internals$jscomp$inline_1242 = {
94369436
scheduleRoot: null,
94379437
setRefreshHandler: null,
94389438
getCurrentFiber: null,
9439-
reconcilerVersion: "18.3.0-canary-be67db46b-20231010"
9439+
reconcilerVersion: "18.3.0-canary-537228f9f-20231010"
94409440
};
94419441
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
94429442
var hook$jscomp$inline_1243 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-canary-be67db46b-20231010";
30+
var ReactVersion = "18.3.0-canary-537228f9f-20231010";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,4 +616,4 @@ exports.useSyncExternalStore = function (
616616
exports.useTransition = function () {
617617
return ReactCurrentDispatcher.current.useTransition();
618618
};
619-
exports.version = "18.3.0-canary-be67db46b-20231010";
619+
exports.version = "18.3.0-canary-537228f9f-20231010";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ exports.useSyncExternalStore = function (
619619
exports.useTransition = function () {
620620
return ReactCurrentDispatcher.current.useTransition();
621621
};
622-
exports.version = "18.3.0-canary-be67db46b-20231010";
622+
exports.version = "18.3.0-canary-537228f9f-20231010";
623623

624624
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
625625
if (
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
be67db46b60d94f9fbefccf2523429af25873e5b
1+
537228f9fd703d18bea1f6d20fa0e5006b795c42

0 commit comments

Comments
 (0)