Skip to content

Commit

Permalink
fix(menu): fix menu item fade in order animation
Browse files Browse the repository at this point in the history
fixes #5014

PiperOrigin-RevId: 568922927
  • Loading branch information
Elliott Marquez authored and copybara-github committed Sep 27, 2023
1 parent db3c865 commit f42d034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions menu/internal/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

/**
Expand Down

0 comments on commit f42d034

Please sign in to comment.