Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

fix(menu): resolve an error when going from a nested menu item to a regular one #7826

Closed
wants to merge 1 commit into from

Conversation

crisbeto
Copy link
Member

Fixes a JS error that was being thrown if the user goes from a menu item with a sub menu to an item that doesn't have one.
Also fixes the menu item without a sub menu staying highlighted afterwards.

Closes #7819.

@topherfangio Could you give me some feedback on this one? I believe it got introduced in b58343c#diff-7d56e0ee8b5aa2a3434f4f53a8a66168

…egular one

Fixes a JS error that was being thrown if the user goes from a menu item with a sub menu to an item that doesn't have one.
Also fixes the menu item without a sub menu staying highlighted afterwards.

Closes angular#7819.
@crisbeto crisbeto added the needs: review This PR is waiting on review from the team label Mar 31, 2016
@ThomasBurleson
Copy link
Contributor

lgtm

@ThomasBurleson ThomasBurleson added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels Apr 3, 2016
ilovett pushed a commit to ilovett/material that referenced this pull request Apr 22, 2016
…egular one

Fixes a JS error that was being thrown if the user goes from a menu item with a sub menu to an item that doesn't have one.
Also fixes the menu item without a sub menu staying highlighted afterwards.

Closes angular#7819.

Closes angular#7826
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mdMenu: Cannot read property 'open' of null
3 participants