We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
scrollSize
scroll
1 parent 0bdf754 commit fb62ab5Copy full SHA for fb62ab5
src/collectionview/index.android.ts
@@ -404,6 +404,7 @@ export class CollectionView extends CollectionViewBase {
404
object: this,
405
eventName,
406
scrollOffset: offset / Utils.layout.getDisplayDensity(),
407
+ scrollSize: (range - extent),
408
scrollOffsetPercentage: offset / (range - extent),
409
dx,
410
dy
src/collectionview/index.ios.ts
@@ -1038,6 +1038,7 @@ export class CollectionView extends CollectionViewBase {
1038
1039
1040
scrollOffset: offset,
1041
+ scrollSize: size,
1042
scrollOffsetPercentage: offset / size,
1043
1044
dy: dy + safeAreaInsetsTop
0 commit comments