This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-menu offset not calculating correctly #8080
Labels
has: Pull Request
A PR has been created to address this issue
Comments
@devversion I know you are working on a PR to assist in difference between |
@topherfangio Yea, this will be fixed by my PR. |
devversion
added
the
has: Pull Request
A PR has been created to address this issue
label
Apr 22, 2016
devversion
added a commit
to devversion/material
that referenced
this issue
Apr 22, 2016
The service is containing the following features: * Check for an element, to have the specified attribute, including the prefixes * Generate an attribute selector for the specified attribute * Build a list of all prefixed attributes Fixes angular#8080. Closes angular#8121
devversion
added a commit
to devversion/material
that referenced
this issue
Apr 22, 2016
The service is containing the following features: * Check for an element, to have the specified attribute, including the prefixes * Generate an attribute selector for the specified attribute * Build a list of all prefixed attributes Fixes angular#8080. Closes angular#8121
devversion
added a commit
to devversion/material
that referenced
this issue
May 27, 2016
The service is containing the following features: * Check for an element, to have the specified attribute, including the prefixes * Generate an attribute selector for the specified attribute * Build a list of all prefixed attributes Fixes angular#8080. Closes angular#8121
devversion
added a commit
to devversion/material
that referenced
this issue
May 27, 2016
The service is containing the following features: * Check for an element, to have the specified attribute, including the prefixes * Generate an attribute selector for the specified attribute * Build a list of all prefixed attributes Fixes angular#3258. Fixes angular#8080. Closes angular#8121
devversion
added a commit
to devversion/material
that referenced
this issue
Jun 2, 2016
The service is containing the following features: * Check for an element, to have the specified attribute, including the prefixes * Generate an attribute selector for the specified attribute * Build a list of all prefixed attributes Fixes angular#3258. Fixes angular#8080. Closes angular#8121
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When you open a menu and you do not have a ng-click before the md-menu-contents tag it will get the first ng-click that may exist within the menu itself. I was using data-ng-click to open my menu which is not being picked up by the init function. I have a fix for this and its adding in the data-ng-click into the querySelector, an example is
Current:
triggerElement = $element[0].querySelector('[ng-click],[ng-mouseenter]');
Change To:
triggerElement = $element[0].querySelector('[data-ng-click],[ng-click],[data-ng-mouseenter],[ng-mouseenter]');
this is all within the init function in the MenuController. I have tested this within my project and it seems to of fixed the issue for me. I hope this helps.
The text was updated successfully, but these errors were encountered: