Dont delete container, or provide a means to retain it
See original GitHub issueI have a container that I use with containerId
. However when the portal closes you delete the container element. This breaks my app.
The reason I use a custom element is to apply a className to the container to have the portal content styled.
After closing the portal, your library deletes this container element, then when re-opening the portal it re-creates the element under the body which is in the wrong place
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Docker error cannot delete docker container, conflict: unable ...
In short, a container is a runnable instance of an image. which is why you cannot delete an image if there is a...
Read more >Cannot delete a storage account with containers with locked ...
The Delete Container operation will fail if at least one blob exists within the container with either a locked or unlocked time-based retention...
Read more >docker rm - Docker Documentation
This command removes the container and any volumes associated with it. Note that if a volume was specified with a name, it will...
Read more >Docker Cleanup: How to Remove Images, Containers ...
The Docker prune command automatically removes the resources not associated with a container. This is a quick way to get rid of old...
Read more >Docker: How to Stop and Remove All Containers at Once
So, using stop instead of rm -f is a good idea, whether you're stopping a set of containers or just one at a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cameronbraid Here’s a new
autoRemoveContainer
option in v1.1.0 for you.I just tested today and autoRemoveContainer did’t work for me, sadly. I guess if the default is keep the div, probably less issue