Skip to content

Consider using moveBefore (with a polyfill) for toast notifications #175

@mkrause

Description

@mkrause

See thread here: fkhadra/react-toastify#1200 (comment)

Currently in our ToastProvider, we use a crude workaround to prevent animations from re-running upon remount of the toast provider.

Once moveBefore is supported in browsers, we can solve this problem by just moving the elements to the <dialog> while keeping the animation state. It will take a long time before this is well-supported in all browsers, but in the meantime we could consider using the polyfill here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions