Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

md-switch bounces back when dragged #4719

@metamatt

Description

@metamatt

The following happens on the demo page and also in my own code. I'm using Chrome 44 on Mac OS X, Angular Material 0.10.1 and 0.11.

If I just click on the switch, it toggles to the other position.

If I click and hold and drag the switch from off to on, then release the mouse, the switch bounces back to off.

(But dragging the switch from on to off works; also, if I drag the switch from off to on then while continuing to hold the mouse button down, move the mouse outside the md-switch element's bounding box, THEN release the mouse button, the switch does not bounce back to off.)

However, of all these, the one that I find the most natural behavior is just dragging it from off to on and that's the one that doesn't work.

Metadata

Metadata

Assignees

Labels

P4: minorMinor issues. May not be fixed without community contributions.pr: merge readyThis PR is ready for a caretaker to review

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions