AdamTyler / react-dice-complete

Complete dice rolling functionality and animations
http://adam-tyler.com/react-dice-complete
ISC License
79 stars 26 forks source link

RollDone() doesnt run after rolling the dices for a second time #87

Open p-freitas opened 5 months ago

p-freitas commented 5 months ago

Hi Adam!

I'm having an issue where, after I decrease the numDice number and roll the dices a second time, it doesnt run the RollDone() callback. You can test it in the demo.

Steps: -Choose a dice number and roll it -Decrease the dice number and roll it again

You will see that the rollDone() callback wont be called

chrome-capture-2024-5-15