From 73eb15ebee06d1ac12e94a43d7b59234b8bd48ee Mon Sep 17 00:00:00 2001 From: Elliott Marquez Date: Wed, 27 Sep 2023 13:46:54 -0700 Subject: [PATCH] fix(menu): fix menu item fade in order animation fixes #5014 PiperOrigin-RevId: 568949388 --- menu/internal/menu.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu/internal/menu.ts b/menu/internal/menu.ts index 72720fa028..2390fba22a 100644 --- a/menu/internal/menu.ts +++ b/menu/internal/menu.ts @@ -255,8 +255,8 @@ export abstract class Menu extends LitElement { * helpful for calculating some animation calculations. */ private get openDirection(): 'UP'|'DOWN' { - const menuCornerBlock = this.menuCorner.split('_')[0]; - return menuCornerBlock === 'START' ? 'DOWN' : 'UP'; + const menuCornerBlock = this.menuCorner.split('-')[0]; + return menuCornerBlock === 'start' ? 'DOWN' : 'UP'; } /**