Kattixie / portfolio

A minimal AngularJS portfolio for project-oriented folks.
1 stars 0 forks source link

Unintended animation on main menu #8

Closed Kattixie closed 8 years ago

Kattixie commented 8 years ago

To replicate:

  1. Open hamburger menu.
  2. Resize the window to expand menu.
  3. Resize the window to collapsible view again.

The previously opened menu animates the top. Can probably be fixed by confirming that bottom position inline style is removed if the menu is no longer collapsible.

Kattixie commented 8 years ago

Resolved this by adding setDropdownPositionDefault method to menu controller and invoking it on resize.