Skip to content

Commit

Permalink
EPMRPP-80377 || Popover looks different after configuration submissio…
Browse files Browse the repository at this point in the history
…n on Integrations tab (#3711)
  • Loading branch information
BlazarQSO authored Jan 5, 2024
1 parent 3aac4e0 commit 134afde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/componentLibrary/popover/popover.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import React, { useEffect, useRef, useState } from 'react';
import React, { useLayoutEffect, useRef, useState } from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames/bind';
import { useOnClickOutside } from 'common/hooks';
Expand All @@ -39,7 +39,7 @@ export const Popover = ({

useOnClickOutside(popoverRef, onClose);

useEffect(() => {
useLayoutEffect(() => {
const { current: parent } = parentRef;
const parentTop = parent.offsetTop;
const parentLeft = parent.offsetLeft;
Expand Down

0 comments on commit 134afde

Please sign in to comment.