Open oktaysenkan opened 1 week ago
Hi, @gunnartorfis, I want to work on this, if that's ok.
@mrpmohiburrahman PRs are always welcome.
@mrpmohiburrahman PRs are always welcome.
I am working on it, full time.
Hi, @gunnartorfis , Please, check this pr: https://github.com/gunnartorfis/sonner-native/pull/152
Describe the bug When a custom JSX component is passed to the Toast component, the animations don’t trigger properly. Specifically, the condition
short-circuits the rest of the component, preventing any animations from running when a custom component is provided.
To Reproduce Steps to reproduce the behavior:
Expected behavior Animations should still run even when a custom JSX component is provided.
Screenshots
https://github.com/user-attachments/assets/6f651abb-fe4b-491c-80ef-53ab83358210
Environment info