-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(select): consider value changes via arrow keys on closed select as user actions #5112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…s user actions Currently, the user changing the `md-select` value using the arrow keys on a closed select won't mark the interaction as `isUserInput` in the option's selection event. These change s correct the behavior. Fixes angular#5084.
src/lib/select/select.spec.ts
Outdated
@@ -29,6 +29,7 @@ import { | |||
FloatPlaceholderType, | |||
MD_PLACEHOLDER_GLOBAL_OPTIONS | |||
} from '../core/placeholder/placeholder-options'; | |||
import 'rxjs/add/operator/map'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that we are trying to move away from this syntax, can you refactor to use the explicit symbol?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, but I would rather do them all the same time when redoing #2652.
@kara could you take another look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Currently, the user changing the
md-select
value using the arrow keys on a closed select won't mark the interaction asisUserInput
in the option's selection event. These changes correct the behavior.Fixes #5084.