fkhadra / fkhadra/react-toastify

Positions are not working correctly (in stacked)

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

Description

**Bug**

**What is the current behavior?**
If you don't define a position in the container, you will see that the position is wrong after defining the bottom position in each toast individually in stacked mode.

**What is the expected behavior?**
If I did not define any position in the container and the bottom position was defined separately in each toast, the stack should work correctly, now it considers the position of the top.

example :
```
toast('Wow` so not easy!', {
position: 'bottom-left'
})

```

**Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?**
React V18.2.0 / Google Chrome Version 120.0.6099.224 (Official Build) (64-bit) / Windows 11 / No

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.