mdbootstrap / bootstrap-toggle-buttons

Bootstrap-toggle-buttons has moved to https://github.com/nostalgiaz/bootstrap-switch
https://github.com/nostalgiaz/bootstrap-switch
Apache License 2.0
1.02k stars 92 forks source link

After handler dragging the new state of the button depends on the position on the handler #18

Closed volpino closed 11 years ago

volpino commented 11 years ago

If the button is in the "ON" state and I move the handler a bit, but not so much to be in the right half of the button, I expect the new state to be "ON" again. Only if I move the handler in the other half of the button the state should change to "OFF"

volpino commented 11 years ago

Added some documentation improvements :)

nostalgiaz commented 11 years ago

@volpino,I tried your version of the toggle-buttons but it doesn't work. When I click the switch, it doesn't move.

volpino commented 11 years ago

@nostalgiaz oopps! sorry! I fixed it now :) It's kind of an hack, maybe you can find a better solution