mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
UIScrollViews will now report 'scroll' events and the background in ios will adjust added layers (#4762)
This commit is contained in:
committed by
SvetoslavTsenov
parent
3fd65cce9f
commit
12c0199fb5
@@ -17,7 +17,7 @@ class UIScrollViewDelegateImpl extends NSObject implements UIScrollViewDelegate
|
||||
if (owner) {
|
||||
owner.notify(<ScrollEventData>{
|
||||
object: owner,
|
||||
eventName: ScrollViewBase.scrollEvent,
|
||||
eventName: "scroll",
|
||||
scrollX: owner.horizontalOffset,
|
||||
scrollY: owner.verticalOffset
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user