You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Strict Mode] Redundant div is portalled and not cleaned up #8784
When Strict Mode is enabled, a div used for portalling is created twice - one of which is empty. When the portalled component is unmounted, the empty div is not removed, causing unnecessary DOM bloat.
This becomes problematic in cases where many components are portalled on a single screen, as each interaction adds a new DOM node. Over time, this can lead to resource exhaustion or performance issues.
It's severity depends on the amount of portalled elements within one page and intensity of interactions, especially when the portalled elements are triggered on hover (easy access). See the Codesandbox below.
👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.
Activity
github-actions commentedon Dec 10, 2025
👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.