Skip to content

Autocomplete - Add a panelOpened event #9894

@davidmorissette

Description

@davidmorissette

Bug, feature request, or proposal:

Feature request

What is the expected behavior?

Should be able to execute some logic right after the panel is opened.

What is the current behavior?

N/A

What are the steps to reproduce?

N/A

What is the use-case or motivation for changing an existing behavior?

I need to scroll inside of the panel based on custom rules. I use the autocomplete.panel and autocomplete._setScrollTop to accomplish it. Currently, I am forced to use a timeout function on input focus. Having a panelOpened event would be a much cleaner way to do it. Also, other people might have other reasons to use that event.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

5.0.4

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions