From ab5887d5d73523accdef2d074add65a752e2f9ad Mon Sep 17 00:00:00 2001 From: "zhefeng.zhang" <35944775+zhefengzhang@users.noreply.github.com> Date: Tue, 21 Oct 2025 17:35:54 +0800 Subject: [PATCH] fixed scrollview handle event code is number --- cocos/ui/scroll-view.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/ui/scroll-view.ts b/cocos/ui/scroll-view.ts index c4d897910aa..2b22bfb089c 100644 --- a/cocos/ui/scroll-view.ts +++ b/cocos/ui/scroll-view.ts @@ -1428,7 +1428,7 @@ export class ScrollView extends ViewGroup { } } - ComponentEventHandler.emitEvents(this.scrollEvents, this, eventMap[event]); + ComponentEventHandler.emitEvents(this.scrollEvents, this, event); this.node.emit(event, this); }