You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://material.angular.io/components/component/autocomplete
Launch version 45.7 of Firefox. Use the example provided by the material website. I don't know why but for some reason I could not reproduce the issue within a plunker. The material website demonstrates the problem I am having though with this version of Firefox.
What is the use-case or motivation for changing an existing behavior?
It's a bug
Which versions of Angular, Material, OS, browsers are affected?
@jelbourn@crisbeto Well after doing npm install of latest build like you both suggested. I can't even bring up my application now. Lots of Typescript errors. For instance.
ERROR in node_modules/@angular/material/typings/button/button.d.ts (40,22): Class 'MdButton' incorrectly implements interface 'CanDisable'.
Property 'disabled' is missing in type 'MdButton'.
I'm having the same issue using Geecko v45.0.22.0. I'm making a copy of my project. Once it finish, I will try to update material to the last version and try it again. I will comment if it works later.
I'm using an embeded (WebBrowser) geckofx package from NuGet on a windows form application that allows me to use this engine on our application. For some dev reasons we have to use this.
When the user clicks over an option, the autocomplete disapears and the ngModel does not get the new value.
cdk-overlay-container has z-index:1000. cdk-overlay-pane also has the same z-index:1000 shouldn't it be z-index:1001 for cdk-overlay-pane or Can we just omit z-index for cdk-overlay-pane?
Disclaimer: I have no idea if its actually related to this issue, but reached here while looking for something related to autocomplete.
@jfilgairacordon I've tried it against all the supported browsers/devices that I could find (as well as some unsupported, like Firefox 45) and I couldn't reproduce it anywhere. My guess is that it's something specific to your setup. I'm sorry, but there's no way to help without a repro case. The issue can be reopened if you manage to isolate it in a Plunkr. We're also open to pull requests, if you manage to track the issue down on your own.
@sabithpocker the z-index isn't relevant here. The overlays will stack correctly, because even though they have the same z-index, every newly-added overlay will be added after all others in the DOM.
@crisbeto Are you sure you are trying with version 45.7 of Firefox? Every single one of my coworkers with this version has this problem. It works with latest version of Firefox but that's not possible for our users to do at the moment.
@crisbeto Thank you for trying older browsers to try and reproduce. Like I said I am using version 45.7. I see you are saying 45.0. If you could try this version maybe you will be able to reproduce the problem.
Also I've tried master branch like you suggested but I can't get webpack to build with it because of the errors I mentioned earlier.
I can also reproduce it on the demo site (which is running beta.3) @willshowell, but it's gone in master (verified it with Firefox 45 on a Mac). It was fixed by #3188.
Activity
crisbeto commentedon May 10, 2017
The issue should be fixed in master. You can try installing the latest build:
JacobBrandt commentedon May 10, 2017
@crisbeto I'll try the latest build later today and see if it works. Thanks.
jelbourn commentedon May 11, 2017
Closing since @crisbeto says it's already fixed on master, feel free to comment if that's not the case
JacobBrandt commentedon May 12, 2017
@jelbourn @crisbeto Well after doing npm install of latest build like you both suggested. I can't even bring up my application now. Lots of Typescript errors. For instance.
ERROR in node_modules/@angular/material/typings/button/button.d.ts (40,22): Class 'MdButton' incorrectly implements interface 'CanDisable'.
Property 'disabled' is missing in type 'MdButton'.
jfilgairacordon commentedon May 12, 2017
I'm having the same issue using Geecko v45.0.22.0. I'm making a copy of my project. Once it finish, I will try to update material to the last version and try it again. I will comment if it works later.
jfilgairacordon commentedon May 12, 2017
I have updated my project and resolved all the problems. The autocomplete still not working on Geecko v45.0.22.0.
crisbeto commentedon May 12, 2017
I'm still not able to reproduce it in Firefox. Can you post an example?

jfilgairacordon commentedon May 12, 2017
I'm using an embeded (WebBrowser) geckofx package from NuGet on a windows form application that allows me to use this engine on our application. For some dev reasons we have to use this.
When the user clicks over an option, the autocomplete disapears and the ngModel does not get the new value.
sabithpocker commentedon May 12, 2017
cdk-overlay-containerhasz-index:1000.cdk-overlay-panealso has the samez-index:1000shouldn't it bez-index:1001forcdk-overlay-paneor Can we just omitz-indexforcdk-overlay-pane?Disclaimer: I have no idea if its actually related to this issue, but reached here while looking for something related to autocomplete.
jfilgairacordon commentedon May 12, 2017
I've try with z-index: 1001 (via Harcoded CSS) and still not working.
crisbeto commentedon May 12, 2017
@jfilgairacordon I've tried it against all the supported browsers/devices that I could find (as well as some unsupported, like Firefox 45) and I couldn't reproduce it anywhere. My guess is that it's something specific to your setup. I'm sorry, but there's no way to help without a repro case. The issue can be reopened if you manage to isolate it in a Plunkr. We're also open to pull requests, if you manage to track the issue down on your own.
@sabithpocker the
z-indexisn't relevant here. The overlays will stack correctly, because even though they have the samez-index, every newly-added overlay will be added after all others in the DOM.JacobBrandt commentedon May 12, 2017
@crisbeto Are you sure you are trying with version 45.7 of Firefox? Every single one of my coworkers with this version has this problem. It works with latest version of Firefox but that's not possible for our users to do at the moment.
crisbeto commentedon May 12, 2017
Yes @JacobBrandt, here's an example with Firefox 45.0 against the current
master:JacobBrandt commentedon May 12, 2017
@crisbeto Thank you for trying older browsers to try and reproduce. Like I said I am using version 45.7. I see you are saying 45.0. If you could try this version maybe you will be able to reproduce the problem.
Also I've tried master branch like you suggested but I can't get webpack to build with it because of the errors I mentioned earlier.
willshowell commentedon May 12, 2017
I was able to reproduce @JacobBrandt's issues on macOS 10.12.4 with Firefox 45.0 and 45.7
45.0
45.7
53.0 (working)
crisbeto commentedon May 12, 2017
I can also reproduce it on the demo site (which is running beta.3) @willshowell, but it's gone in
master(verified it with Firefox 45 on a Mac). It was fixed by #3188.willshowell commentedon May 12, 2017
@crisbeto Oh yeah hah. You're right - just tested on FF 45.7 with latest and it worked fine
jfilgairacordon commentedon May 15, 2017
After upgrading to the new beta 5 of material the autocomplete component works fine!
angular-automatic-lock-bot commentedon Sep 5, 2019
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.