From cbb382970779ed17288eb97fd574009513457ca2 Mon Sep 17 00:00:00 2001 From: Aaron Dodson Date: Mon, 20 Mar 2023 15:27:51 -0700 Subject: [PATCH] fix: Fix scrolling of menus on mobile. (#6911) --- core/menu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/menu.ts b/core/menu.ts index 0ad63cf26..d2ff7d53c 100644 --- a/core/menu.ts +++ b/core/menu.ts @@ -104,7 +104,7 @@ export class Menu { this.mouseOverHandler = browserEvents.conditionalBind( element, 'pointerover', this, this.handleMouseOver, true); this.clickHandler = browserEvents.conditionalBind( - element, 'pointerdown', this, this.handleClick, true); + element, 'pointerup', this, this.handleClick, true); this.mouseEnterHandler = browserEvents.conditionalBind( element, 'pointerenter', this, this.handleMouseEnter, true); this.mouseLeaveHandler = browserEvents.conditionalBind(