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: 568949388
  • Loading branch information
e111077 authored and Copybara-Service committed Sep 27, 2023
1 parent 57f7ff5 commit 73eb15e
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 73eb15e

Please sign in to comment.