- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6.8k
fix(slide-toggle): emit change event after drag end #1405
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
fix(slide-toggle): emit change event after drag end #1405
Conversation
| @devversion can you rebase this now (to make review easier)? | 
4ed80d9    to
    1e16eb2      
    Compare
  
    | Whoops, I thought I had already merged #1268. Now I really merged it. | 
1e16eb2    to
    c83cf67      
    Compare
  
    * Emits a change event after the drag completed. Fixes angular#1390.
c83cf67    to
    71d591c      
    Compare
  
    | Just rebased now on top of  | 
| LGTM aside for that same comment | 
| expect(slideThumbContainer.classList).toContain('md-dragging'); | ||
|  | ||
| gestureConfig.emitEventForElement('slide', slideThumbContainer, { | ||
| deltaX: 200 // Use a random number which will be clamped. | 
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.
Same comment on the comment as the other PR
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.
Oh, I just rebased it, and didn't look at it again. Just made the change :)
| 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. | 
Fixes #1390.
FYI: Rebased on top of #1268 (should be merged before)