react-toggle icon indicating copy to clipboard operation
react-toggle copied to clipboard

toggle is reverted to old state after swipe

Open dungsaga opened this issue 8 years ago • 0 comments

Step to reproduce this error:

  • click to check
  • swipe to uncheck
  • now the toggle is reverted to checked.

I set some breakpoints and discover that this.previouslyChecked has wrong value in function handleTouchEnd

dungsaga avatar Feb 08 '17 03:02 dungsaga