cengage / react-magma

https://react-magma.cengage.com
MIT License
21 stars 13 forks source link

Toast: animation doesn't update based on duration #1560

Open silvalaura opened 1 week ago

silvalaura commented 1 week ago

Component: Toast

Description: When you change the duration of the toast, the animated timing ring should reflect that. If the duration is shorter, then the ring moves faster. If the duration is longer, the ring should be slower. Currently, the ring moves at the same speed no matter what you change the duration to which means it isn't actually connected to the duration at all.

This has apparently been an issue for a very long time, perhaps even the beginning of Magma.

image

Steps to reproduce:

  1. Go to example in storybook
  2. Change duration to any other value and open toast