baronha / ting

🍞 Flexible and customizable React Native toast/alert notifications with support for positioning, custom rendering, click handlers, and duration control. Written in Swift and Kotlin
MIT License
300 stars 21 forks source link

The animation effect will be different #33

Open wkz2003 opened 1 month ago

wkz2003 commented 1 month ago

For example, the animation of a checkmark is sometimes displayed from bottom to top like handwriting, while other times a complete checkmark is displayed first and then the animation is played. I think both are good, but the effect is a bit inconsistent not very good. My mobile platform is Android

  toast({
    title: 'success',
    position: 'bottom',
    duration: 1,
    message: 'xxx',
  });

Another issue I found that I'm not sure if it's a feature or a bug is that the duration of the animation can only be an integer, something like 1.5 doesn't work

mrevanzak commented 1 month ago

on android, duration value convert to int so it doesnt work with float i think. i dont use kotlin so just my guess