Skip to content

Autocomplete option not clickable #4465

Closed

Description

@JacobBrandt

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Should be able to click option in autocomplete.

What is the current behavior?

Unable to click option in autocomplete.

What are the steps to reproduce?

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?

Firefox v45.7

Is there anything else we should know?

Nope

Activity

  1. crisbeto commented on May 10, 2017

    @crisbeto
    Member

    The issue should be fixed in master. You can try installing the latest build:

    npm install https://github.com/angular/material2-builds.git
  2. JacobBrandt commented on May 10, 2017

    @JacobBrandt
    Author

    @crisbeto I'll try the latest build later today and see if it works. Thanks.

  3. jelbourn commented on May 11, 2017

    @jelbourn
    Contributor

    Closing since @crisbeto says it's already fixed on master, feel free to comment if that's not the case

  4. JacobBrandt commented on May 12, 2017

    @JacobBrandt
    Author

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

  5. jfilgairacordon commented on May 12, 2017

    @jfilgairacordon

    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.

  6. jfilgairacordon commented on May 12, 2017

    @jfilgairacordon

    I have updated my project and resolved all the problems. The autocomplete still not working on Geecko v45.0.22.0.

  7. crisbeto commented on May 12, 2017

    @crisbeto
    Member

    I'm still not able to reproduce it in Firefox. Can you post an example?
    a

  8. jfilgairacordon commented on May 12, 2017

    @jfilgairacordon

    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.

    image

    githubautocompleteproblem

  9. self-assigned this
    on May 12, 2017
  10. sabithpocker commented on May 12, 2017

    @sabithpocker

    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.

  11. jfilgairacordon commented on May 12, 2017

    @jfilgairacordon

    I've try with z-index: 1001 (via Harcoded CSS) and still not working.

  12. crisbeto commented on May 12, 2017

    @crisbeto
    Member

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

  13. JacobBrandt commented on May 12, 2017

    @JacobBrandt
    Author

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

  14. crisbeto commented on May 12, 2017

    @crisbeto
    Member

    Yes @JacobBrandt, here's an example with Firefox 45.0 against the current master:

    a

  15. JacobBrandt commented on May 12, 2017

    @JacobBrandt
    Author

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

  16. willshowell commented on May 12, 2017

    @willshowell
    Contributor

    I was able to reproduce @JacobBrandt's issues on macOS 10.12.4 with Firefox 45.0 and 45.7

    45.0

    45-0 issue

    45.7

    45-7 issue

    53.0 (working)

    53-0 working

  17. crisbeto commented on May 12, 2017

    @crisbeto
    Member

    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.

  18. willshowell commented on May 12, 2017

    @willshowell
    Contributor

    @crisbeto Oh yeah hah. You're right - just tested on FF 45.7 with latest and it worked fine

  19. jfilgairacordon commented on May 15, 2017

    @jfilgairacordon

    After upgrading to the new beta 5 of material the autocomplete component works fine!

  20. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    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.

  21. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions