Skip to content
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

md-autocomplete: Crashes if they are dynamically created #3150

Closed
JacobBrandt opened this issue Feb 17, 2017 · 6 comments
Closed

md-autocomplete: Crashes if they are dynamically created #3150

JacobBrandt opened this issue Feb 17, 2017 · 6 comments
Labels
cannot reproduce The team is unable to reproduce this issue with the information provided

Comments

@JacobBrandt
Copy link

JacobBrandt commented Feb 17, 2017

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

@kara
Copy link
Contributor

kara commented Feb 17, 2017

Can you add a plunker repro?

@kara kara added the cannot reproduce The team is unable to reproduce this issue with the information provided label Feb 21, 2017
@kara
Copy link
Contributor

kara commented Feb 22, 2017

Closing, as we can't reproduce. Please re-open with a plunker if you are still seeing issues.

@kara kara closed this as completed Feb 22, 2017
@JacobBrandt
Copy link
Author

@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.
autocomplete_crash

@kara
Copy link
Contributor

kara commented Mar 24, 2017

In that case, looks like a dupe of #3176. Should be fixed in master.

@JacobBrandt
Copy link
Author

OK, thank you.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cannot reproduce The team is unable to reproduce this issue with the information provided
Projects
None yet
Development

No branches or pull requests

2 participants