effectussoftware / react-custom-roulette

Repository for the react-custom-roulette library
MIT License
312 stars 112 forks source link

Do not stop the roulette until state changes #17

Closed roy1210 closed 2 years ago

roy1210 commented 3 years ago

Hi teams! I love this roulette, thank you for let me use it! I notice this roulette will stop after 10 secs spin is started. Since my business logic takes quite a long time to has been chosen the prize number, is it possible to make roulette spinning (like forever) until mustSpin state becomes false ?

roy1210 commented 3 years ago

Or maybe it is better to passing spinTime to Wheel component. Like <Wheel spinTime={60000} /> :D

ayush-lal commented 3 years ago

I am also interested in this. @roy1210 did you manage to figure out a work around?

ekoydakoykoy commented 3 years ago

i am waiting for this

Gaston-Gonzalez commented 2 years ago

This is now solved with spinDuration coefficient