Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Add React Portal to CT Container #62

Open
mirshko opened this issue May 11, 2020 · 0 comments
Open

Add React Portal to CT Container #62

mirshko opened this issue May 11, 2020 · 0 comments

Comments

@mirshko
Copy link

mirshko commented May 11, 2020

It would probably be a good enhancement to put the content of the toast containers into a React Portal.

As they have no real need to be in the main DOM tree.

I suggest using https://reacttraining.com/reach-ui/portal as they have the most proven solutions for accessibility and other best practices.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant