Yunyong Yi
Yunyong Yi
@ninosaurus Hello, I'm also having the same issue. I want to use your code and have a question. How can you change **this.state.swiping** ? Is there any listener during or...
How about this? ```js componentDidMount(){ window.addEventListener('touchstart', this.touchStart); window.addEventListener('touchmove', this.preventTouch, {passive: false}); } componentWillUnmount(){ window.removeEventListener('touchstart', this.touchStart); window.removeEventListener('touchmove', this.preventTouch, {passive: false}); } touchStart(e){ this.firstClientX = e.touches[0].clientX; this.firstClientY = e.touches[0].clientY; } preventTouch(e){ const...
> Why not using colors with meaning like dangerous, warning, info, black and white etc. @ninjja Yes, you're right. I've missed it.
So I changed it to "beforeChange()" :(