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
[EuiBottomBar] Fixed position shouldn't mount into a portal by default #9242
When using the EuiBottomBarcomponent, when position="sticky", the bottom bar is mounted as a normal React node, and it works correctly.
When position is not specified, the default value is fixed.
This would work perfectly fine if it were only applying changes to the CSS layout, as the fixed position doesn't affect the DOM node position.
However, there is an issue here. When position="fixed" (explicitly or by default) the usePortal property starts playing a role. As this is truthy by default, it implicitly applies the behaviour of creating the bar inside a portal, appending the new DOM node at the end of the body tag.
Sometimes, this results in the following error, which crashes the page with an unhandled error:
To prevent this behavior and purely rely on the CSS positioning, usePortal must be explicitly set to false. This guarantees the expected behaviour for the EuiBottomBar component on a fixed positioning.
This implicit behaviour seems dangerous and could lead to unexpected crashes. I wonder if the portal usage should be off by default and if we actually need it to even be there for some reason.
On a side note, we have a use case in Kibana where the affordForDisplacement solution would work great, but it's only supported with the portal option enabled. Please keep this requirement in mind when looking into this issue, thanks in advance!
👋 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
tonyghiani commentedon Nov 27, 2025
On a side note, we have a use case in Kibana where the
affordForDisplacementsolution would work great, but it's only supported with the portal option enabled. Please keep this requirement in mind when looking into this issue, thanks in advance!JasonStoltz commentedon Dec 2, 2025
Thank you for adding this issue. We've triaged it to determine priority and next steps:
github-actions commentedon Jun 1, 2026
👋 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.