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

React rotation component

Results 6 react-rotation issues
Sort by recently updated
recently updated
newest added

Listener for 'mouseup' should be updated not to prevent default event behaviour. `document.addEventListener('mouseup', this.touchEnd, false)` + `event.preventDefault()` causes issues in Safari browser

Some browsers like Safari have internal processing of such document events e.g for built-in HTML5 video player.

is any option to rotate in both direction?

To make this component a bit more flexible and SSR friendly, I suggest adding a `defaultCurrent` prop. Currently, `state.current` initializes with `0`, always. That means, the only way to influence...

Example code to issue reproduce: ` { if (frame === 10) { this.setState({ autoPlay: false })` Expected behavior: Start initially autoPlay then stop spinning after 10 frame. Issue: The prop...