This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
autocomplete: uncalled-for evaluation of md-items on item selectΒ #10185
Copy link
Copy link
Open
Labels
P3: importantImportant issues that really should be fixed when possible.Important issues that really should be fixed when possible.severity: performanceThis issue causes a significant performance degradationThis issue causes a significant performance degradationtype: bugtype: performanceThis issue is related to performanceThis issue is related to performance
Milestone
Description
Actual Behavior:
What is the issue? *
Withmd-no-cache="true"
: when an item from the dropdown list is selected with the mouse pointer an unnecessary call to the search function is made. This is wasteful especially when using web services with usage limits and may also disrupt the program logic.What is the expected behaviour?
It should behave in the same way as when the item is selected with the keyboard (that is no call to the search function).
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
http://codepen.io/exchsac/pen/BQgypR
Angular Versions: *
Angular Version:
>=1.5.8 <1.6.0Angular Material Version:
1.1.1, 1.1.0
Additional Information:
Browser Type:
Chrome, Firefox, Safari
saskodh
Metadata
Metadata
Assignees
Labels
P3: importantImportant issues that really should be fixed when possible.Important issues that really should be fixed when possible.severity: performanceThis issue causes a significant performance degradationThis issue causes a significant performance degradationtype: bugtype: performanceThis issue is related to performanceThis issue is related to performance