{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/8378","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/8378/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/8378/comments","events_url":"https://api.github.com/repos/angular/material/issues/8378/events","html_url":"https://github.com/angular/material/issues/8378","id":153666098,"number":8378,"title":"Md Menu Not oppening","user":{"login":"amanuel2","id":16020076,"avatar_url":"https://avatars.githubusercontent.com/u/16020076?v=3","gravatar_id":"","url":"https://api.github.com/users/amanuel2","html_url":"https://github.com/amanuel2","followers_url":"https://api.github.com/users/amanuel2/followers","following_url":"https://api.github.com/users/amanuel2/following{/other_user}","gists_url":"https://api.github.com/users/amanuel2/gists{/gist_id}","starred_url":"https://api.github.com/users/amanuel2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amanuel2/subscriptions","organizations_url":"https://api.github.com/users/amanuel2/orgs","repos_url":"https://api.github.com/users/amanuel2/repos","events_url":"https://api.github.com/users/amanuel2/events{/privacy}","received_events_url":"https://api.github.com/users/amanuel2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-08T16:57:20Z","updated_at":"2016-05-13T11:55:52Z","closed_at":"2016-05-09T14:58:13Z","body":"Hello There! I am having this problem with Md-Menu.. it use to open but now it dosent for some reason... I dont understand why it changed:\r\n\r\nCodeplace:\r\nhttps://ide.c9.io/amanuel2/fourm2\r\n\r\nHtml:\r\n\r\n```\r\n<head>\r\n  <style>\r\n    .avatar {\r\n      height: 50px;\r\n      width: 50px;\r\n      border-radius: 50%;\r\n      position: relative;\r\n      right: 13px;\r\n      /*bottom: 10px;*/\r\n    }\r\n    \r\n    md-toolbar.md-hue-2 {\r\n      position: relative;\r\n      bottom: 18px;\r\n    }\r\n    \r\n    button.md-icon-button.md-button.md-ink-ripple {\r\n      width: 80px;\r\n      height: 60px;\r\n    }\r\n    \r\n    #NEW_TOPIC_BUTTON {\r\n      position: RELATIVE;\r\n      left: 1620px;\r\n      background-color: #81C784;\r\n      font-weight: bold;\r\n    }\r\n    \r\n    #add_icon {\r\n      position: relative;\r\n      bottom: -4px;\r\n    }\r\n    body {\r\n   -moz-transform: scale(0.8, 0.8);\r\n    zoom: 100%;\r\n    }\r\n  </style>\r\n</head>\r\n\r\n<div class=\"toolbardemoBasicUsage\">\r\n\r\n  <md-content>\r\n\r\n    <br>\r\n\r\n    <md-toolbar class=\"md-hue-2\">\r\n      <div class=\"md-toolbar-tools\">\r\n        <md-button class=\"md-icon-button\" aria-label=\"Menu\">\r\n          <md-icon md-svg-icon=\"img/icons/menu.svg\"></md-icon>\r\n        </md-button>\r\n        <h2>\r\n          <span>Welcome {{Username}}</span>\r\n        </h2>\r\n        <span flex=\"\"></span>\r\n        <md-button class=\"md-icon-button\" aria-label=\"Favorite\">\r\n          <md-icon md-svg-icon=\"img/icons/favorite.svg\" style=\"color: greenyellow;\"></md-icon>\r\n        </md-button>\r\n\r\n\r\n        <md-menu>\r\n          <md-button class=\"md-icon-button\" aria-label=\"More\" ng-click=\"openMenu($mdOpenMenu,$event)\">\r\n            <img class=\"avatar\" src=\"{{image}}\" />\r\n          </md-button>\r\n          <md-menu-content width=\"4\">\r\n            <md-menu-item>\r\n              <md-button ng-click=\"goToProfile();\">\r\n                <ng-md-icon icon=\"perm_identity\" style=\"fill: black\" size=\"20\"></ng-md-icon>\r\n                Profile\r\n              </md-button>\r\n            </md-menu-item>\r\n            <md-menu-item>\r\n              <md-button ng-click=\"goToSettings();\">\r\n                <ng-md-icon icon=\"settings\" style=\"fill: black\" size=\"20\"></ng-md-icon>\r\n                Settings\r\n              </md-button>\r\n            </md-menu-item>\r\n            <md-menu-item>\r\n              <md-button ng-click=\"logout();\">\r\n                <ng-md-icon icon=\"logout\" style=\"fill: black\" size=\"20\"></ng-md-icon>\r\n                Logout\r\n              </md-button>\r\n            </md-menu-item>\r\n          </md-menu-content>\r\n\r\n\r\n        </md-menu>\r\n\r\n      </div>\r\n    </md-toolbar>\r\n</div>\r\n\r\n<div class=\"toolbar_new_topic\">\r\n  <md-button id=\"NEW_TOPIC_BUTTON\" ng-click=\"showNewTopic($event)\" flex=\"100\" flex-gt-md=\"auto\">\r\n    <ng-md-icon icon=\"add_box\" style=\"fill: white\" size=\"20\" id=\"add_icon\"></ng-md-icon>\r\n    <span id=\"text_new_topic\" color=\"white\">New Topic</span>\r\n  </md-button>\r\n</div>\r\n\r\n<div ui-view>\r\n\r\n</div>\r\n\r\n```\r\n\r\nJavascript : \r\n\r\n```\r\n(function(angular) {\r\n    var app = angular.module('ForumApp');\r\n\r\n    app.controller('authHome', [\"$scope\", \"$firebaseObject\", \"$state\", \"$mdDialog\", \"$mdMedia\", \"$firebaseArray\", \"refService\", \"currentAuth\", authHomeCtrl])\r\n\r\n    function authHomeCtrl($scope, $firebaseObject, $state, $mdDialog, $mdMedia, $firebaseArray, refService, currentAuth) {\r\n        $state.go('authHome.desc')\r\n        var auth = refService.ref().getAuth() ? console.log() : $state.go(\"home\")\r\n\r\n        var obj = $firebaseObject(refService.ref().child(\"UserAuthInfo\").child(currentAuth.uid));\r\n        obj.$loaded(function(data) {\r\n                $scope.Username = data.Username;\r\n                $scope.Email = data.Email;\r\n                $scope.UID = currentAuth.uid;\r\n                $scope.image = data.Image;\r\n            },\r\n            function(error) {\r\n                console.error(\"Error:\", error);\r\n            }\r\n        );\r\n        \r\n        \r\n\r\n        $scope.goToProfile = function(){\r\n            $state.go(\"authHome.profile\", {\r\n            \"UID\": $scope.UID,\r\n          })\r\n        }\r\n        $scope.openMenu = function($mdOpenMenu, ev) {\r\n            $mdOpenMenu(ev);\r\n        }\r\n\r\n        $scope.logout = function() {\r\n            refService.ref().unauth();\r\n            $state.go(\"home\");\r\n        }\r\n        \r\n        $scope.goToSettings = function(){\r\n            $state.go(\"authHome.settings\", {\r\n                \"UID\" : $scope.UID,\r\n                \"USERNAME\" : $scope.Username\r\n            })\r\n        }\r\n\r\n        $scope.showNewTopic = function(ev) {\r\n            if (ev) {\r\n\r\n\r\n                var useFullScreen = ($mdMedia('sm') || $mdMedia('xs')) && $scope.customFullscreen;\r\n                $mdDialog.show({\r\n                        controller: 'newTopicCtrl',\r\n                        templateUrl: 'views/newTopic.html',\r\n                        parent: angular.element(document.body),\r\n                        resolve: {\r\n                            // controller will not be loaded until $waitForAuth resolves\r\n                            // Auth refers to our $firebaseAuth wrapper in the example above\r\n                            \"currentAuth\": [\"refService\", function(refService) {\r\n                                // $waitForAuth returns a promise so the resolve waits for it to complete\r\n                                return refService.refAuth().$requireAuth();\r\n                            }]\r\n                        },\r\n                        targetEvent: ev,\r\n                        clickOutsideToClose: true,\r\n                        fullscreen: useFullScreen\r\n                    })\r\n                    .then(function(answer) {\r\n                        //Then Argument\r\n                    }, function() {\r\n                        //Canceled Dialog\r\n                    });\r\n\r\n            }\r\n\r\n        }\r\n\r\n    }\r\n\r\n})(angular);\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/219023323","html_url":"https://github.com/angular/material/issues/8378#issuecomment-219023323","issue_url":"https://api.github.com/repos/angular/material/issues/8378","id":219023323,"user":{"login":"amanuel2","id":16020076,"avatar_url":"https://avatars.githubusercontent.com/u/16020076?v=3","gravatar_id":"","url":"https://api.github.com/users/amanuel2","html_url":"https://github.com/amanuel2","followers_url":"https://api.github.com/users/amanuel2/followers","following_url":"https://api.github.com/users/amanuel2/following{/other_user}","gists_url":"https://api.github.com/users/amanuel2/gists{/gist_id}","starred_url":"https://api.github.com/users/amanuel2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amanuel2/subscriptions","organizations_url":"https://api.github.com/users/amanuel2/orgs","repos_url":"https://api.github.com/users/amanuel2/repos","events_url":"https://api.github.com/users/amanuel2/events{/privacy}","received_events_url":"https://api.github.com/users/amanuel2/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T11:55:52Z","updated_at":"2016-05-13T11:55:52Z","body":"@DevVersion cloud9ide is a seriously awesome online ide... now you guys are tired to even sign up? Wow ok, look at what world we live in today."}}