Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mulitLine for Notifications is not working #8077

Closed
StefanFl opened this issue Aug 16, 2022 · 0 comments · Fixed by #8078
Closed

mulitLine for Notifications is not working #8077

StefanFl opened this issue Aug 16, 2022 · 0 comments · Fixed by #8078
Assignees

Comments

@StefanFl
Copy link

What you were expecting:

let message = "Created: 0\nDuplicates: 3\nUnsuccessful: 0";
notify(message, { type: "success", autoHideDuration: 10000, multiLine: true });

The notification should be displayed with 3 lines

What happened instead:

The notification has only 1 line:

grafik

Steps to reproduce:

see above
Environment

  • React-admin version: 4.2.7
  • Last version that did not exhibit the issue (if applicable): n/a
  • React version: 18.2.0
  • Browser: Firefox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants