FredrikOseberg / react-chatbot-kit

MIT License
297 stars 139 forks source link

Delay should not need to be negative to change default animation delay #187

Open digitalfences opened 3 months ago

digitalfences commented 3 months ago

The delay attribute when passed should properly set the disable timeout for the default chatbot message component to 0 instead of being added to the existing default. Passing in the -750 to remove the animation does work for those who want no animation, but the existing implementation is counterintuitive, and not just for users who want 0 delay.