-
Notifications
You must be signed in to change notification settings - Fork 6.8k
md-autocomplete: Crashes if they are dynamically created #3150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you add a plunker repro? |
Closing, as we can't reproduce. Please re-open with a plunker if you are still seeing issues. |
@kara This seems to happen most often when I have the developer tools open. It also seems to only happen when the dropdown should be rendered below. See this GIF for what I mean. |
In that case, looks like a dupe of #3176. Should be fixed in master. |
OK, thank you. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Uh oh!
There was an error while loading. Please reload this page.
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Should behave normally
What is the current behavior?
A dynamically created autocomplete crashes on focus because the pos object passed to the ConnectedPositionStrategy.prototype._getOriginConnectionPoint is undefined..
ConnectedPositionStrategy.prototype._getOverlayPoint crashes for Firefox.
What are the steps to reproduce?
Dynamically create an autocomplete and try to use it
What is the use-case or motivation for changing an existing behavior?
To make the control useable
Which versions of Angular, Material, OS, browsers are affected?
angular 2.4.7, Material beta2, MacOS X 10.11.6, Chrome 57.0.2987.37, Firefox 51.0.1
The text was updated successfully, but these errors were encountered: