-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Description
Bug, feature request, or proposal:
Bug.
What is the expected behavior?
When the user changes state by dragging the thumb, a change event should be emitted.
What is the current behavior?
Change event is not emitted.
What are the steps to reproduce?
Please see this plunk: http://plnkr.co/edit/gMK2P5tCWyT4mszL08ih
Click on the switch to change the state. Note that we see a message indicating that a change event was received. Now drag the thumb from one side to the other. Note that the change event is not generated.
What is the use-case or motivation for changing an existing behavior?
I believe we should follow the principle of "If the feature is there, it should work". If we're giving the user the capability of changing the state by dragging the thumb, then this action should take affect.
As an average user, I was surprised that it doesn't affect the state.
Which versions of Angular, Material, OS, browsers are affected?
Angular 2.0 final.
@angular2-material/slide-toggle - v2.0.0-alpha.8-2 - Angular 2 Material Slide Toggle.
Server is running linux.
Browser is running on Windows 7, Chrome v53.0.2785.116 m
Is there anything else we should know?
No.