material icon indicating copy to clipboard operation
material copied to clipboard

Urgent: latest Angular build breaks md-menu

Open jpike88 opened this issue 11 years ago • 12 comments

md-menu opens ok, but ng-click is broken on menu elements, and this error appears on mouseover of each element.

Error: null is not an object (evaluating 'o.open') http://10.0.0.31:8100/lib/angular-material/angular-material.js:13:4175 http://10.0.0.31:8100/lib/angular/angular.js:17855:36 completeOutstandingRequest@http://10.0.0.31:8100/lib/angular/angular.js:5507:15 http://10.0.0.31:8100/lib/angular/angular.js:5784:33

Using Angular 1.4.7

jpike88 avatar Nov 08 '15 01:11 jpike88

This also happens with the "Simple dropdown menu" example at https://material.angularjs.org/1.0.0-rc3/demo/menu

bigzachattack avatar Nov 08 '15 04:11 bigzachattack

Related: #5604.

Frank3K avatar Nov 08 '15 09:11 Frank3K

I get "Error: nestedMenu is null" when opening a menu, this is probably related to this issue too.

Using angular 1.4.7 and Fire Fox with material 1.0.0-rc3

Error: nestedMenu is null
MenuController/this.enableHoverListener/</openMenuTimeout<@http://localhost:9000/bower_components/angular-material/angular-material.js:20515:9
timeout/timeoutId<@http://localhost:9000/bower_components/angular/angular.js:17855:28
completeOutstandingRequest@http://localhost:9000/bower_components/angular/angular.js:5507:7
Browser/self.defer/timeoutId<@http://localhost:9000/bower_components/angular/angular.js:5784:7
setTimeout handler*Browser/self.defer@http://localhost:9000/bower_components/angular/angular.js:5782:17
timeout@http://localhost:9000/bower_components/angular/angular.js:17853:19

...

Edit: Just realized that this happens on hover, not on opening.

Tyrannmisu avatar Nov 09 '15 08:11 Tyrannmisu

Devs this needs serious attention, please tag it at least

jpike88 avatar Nov 10 '15 23:11 jpike88

Codepen?

gbaj avatar Nov 11 '15 04:11 gbaj

https://material.angularjs.org/latest/demo/menu

Just watch your console while mouseovering the menu items, you'll see errors popping up.

jpike88 avatar Nov 11 '15 05:11 jpike88

Though it does work when using ng-repeat on <md-menu-item>

Magador avatar Nov 11 '15 06:11 Magador

It's already fixed in master.

Frank3K avatar Nov 11 '15 06:11 Frank3K

Which commit fixed it? And why is this ticket still open and untagged?

jpike88 avatar Nov 11 '15 06:11 jpike88

As discussed in #5604: it's fixed in 6bf98aa.

Frank3K avatar Nov 11 '15 06:11 Frank3K

@jpike88 I suspect it's untagged because it's difficult for the team to track so many duplicate issues. If it's fixed, you're able to close your own issue(s).

RolandHeath avatar Nov 12 '15 01:11 RolandHeath

Ok, closed. Thanks fellas

jpike88 avatar Nov 12 '15 01:11 jpike88