From dd65d82c104a8b458b957279f9446db3de071fa8 Mon Sep 17 00:00:00 2001 From: Katie Bobbe Date: Wed, 16 Oct 2024 11:03:46 -0600 Subject: [PATCH] chore(context-menu): address pr comments --- .../src/components/stable/gux-popup/gux-popup.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/genesys-spark-components/src/components/stable/gux-popup/gux-popup.tsx b/packages/genesys-spark-components/src/components/stable/gux-popup/gux-popup.tsx index 90fb621ba..3b7f12f57 100644 --- a/packages/genesys-spark-components/src/components/stable/gux-popup/gux-popup.tsx +++ b/packages/genesys-spark-components/src/components/stable/gux-popup/gux-popup.tsx @@ -148,10 +148,10 @@ export class GuxPopup { } } + // update position once on load to fix overflow in containers: COMUI-2883 + // do not runUpdatePosition on load to avoid performance issues: COMUI-3140 componentDidLoad(): void { - if (this.expanded) { - this.runUpdatePosition(); - } + this.updatePosition(); } componentDidUpdate(): void {