This repository has been 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
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(autocomplete): Fix autocomplete items with spaces.
If an autocomplete's item had spaces at the end, it would cause the autocomplete to show only the selected option when attempting to clear the value. This was caused because the `oninput` event that we fire was somehow resetting the value in the scope (after we had cleared it). Fix by resetting the scope back to an empty value after we fire the `oninput` event. Additionally, fix a few issues in the Virtual Repeat that was affecting the autocomplete and some test descriptions: - Add unwatcher in Virtual Repeat to fix #8178. - Use cached values in `$mdUtil.waitTransitionEnd()` to speed up performance and fix sizing issue in Virtual Repeat affecting the autocomplete. - Fix a few descriptions in the tests to be shorter/clearer and fix typos. Fixes #7655. Fixes #8178. Closes #8580
- Loading branch information
1 parent
92e932c
commit 2fa2e4d
Showing
6 changed files
with
122 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.