-
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?
A coherent behavior :
- Slider move and change
- Slider don't move and don't change
What is the current behavior?
If we click (just press button) on the slider bar, and move the mouse out of the slider and release the button, the change event is not fired but the slider has moved (on click).
What are the steps to reproduce?
- Mouse down on slider bar => activates the slider
- Move mouse (drag) out of the slider => => the slider moves to click position
- Mouse up on "empty space" => no change event
Configuring bigger steps sets the issues easier to observe because the slider won't move during drag (step=10 is enough)
Used the official plunker material demonstration and added (change) event on slider.
https://plnkr.co/edit/UwBZHAje7B80CCrfqIGg?p=preview
What is the use-case or motivation for changing an existing behavior?
Some fast clicks / selection on the slider may induce a mouvement between the mouse down and the mouse up (that how I observe this bug).
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Chrome : 61.0.3163.91
Angular : 4.3.6
Material : 2.0.0 beta 10
Typescript : 2.4.1
MacOS 10.12.6
Is there anything else we should know?
This seems very related #6897
I could luckily observe similar behaviors without having a well defined steps to reproduce
