fkhadra / fkhadra/react-toastify

Breaking change introduced in v11.1.0

Open
#1,287 3 comments 16 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13.4k
Forks
741
PR merge metrics
No merged PRs in 30d

Description

A breaking change related to custom css was silently introduced in v11.1.0:
> CSS now injected at mount via useStyleSheet (prerequisite for nonce).

This causes a different injection order for css styles, causing the [override of css variables](https://fkhadra.github.io/react-toastify/how-to-style/#override-css-variables) not to work anymore unless the `!important` tag is added.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.