fkhadra / fkhadra/react-toastify

textAlign on ToastContainer

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

Description

with version 11
this bug has come back
https://github.com/fkhadra/react-toastify/issues/657

basically on the ToastContainer the style textAlign doesn't do anything anymore

```

```

**sandbox**

here is an updated sandbox from the existing issue listing though its pretty much the same just with updated versions of packages
https://codesandbox.io/p/sandbox/2vw8lc

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox and the ToastContainer component, then compare the behavior with issue #657 using the version 11 setup. Trace how the container's style prop reaches the rendered element. Done means style={{textAlign:'center'}} visibly centers the toast content as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.