Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

md-autocomplete not firing focus events.  #4095

@dmackerman

Description

@dmackerman

Angular 1.4.3 and Material 0.10.1-rc5.

I've copied the examples for mdAutocomplete directly in my application and am seeing some weird issues.

For whatever reason, when the field is focused - not having typed anything yet - no events (and therefore no classes) are added, so the menu doesn't show "all" results. In the docs, the md-menu-shown class is added to the md-autocomplete-wrap element on mouse focus.

This may be related to #4046, but I can't say for sure. This happens to me everywhere, not just confined to inside an mdDialog.

I can't seem to get it to reproduce on Codepen or in the docs application, so i'm not sure why this is happening. The autocomplete works as expected once keystrokes are entered, but it's pretty broken behavior to not show "all" results on focus if the entire array is available on scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions