Fix popover visibility
DDF wizard and popover has some issues with visibility, this is a quick hack so we should try fix it a bit nicer, but for time being it's fine
This commit is contained in:
parent
0c7a1500ec
commit
9a56b859ef
6 changed files with 6 additions and 4 deletions
|
|
@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
|
|||
const RadioWithPopover = ({ Popover, ...props }) => {
|
||||
const ref = useRef();
|
||||
return <Radio { ...props } label={ <span ref={ ref } className="ins-c-image--builder__popover">{props.label}
|
||||
<Popover appendTo={ ref?.current } />
|
||||
<Popover />
|
||||
</span> } />;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
|
|||
import PropTypes from 'prop-types';
|
||||
import useFormApi from '@data-driven-forms/react-form-renderer/use-form-api';
|
||||
import useFieldApi from '@data-driven-forms/react-form-renderer/use-field-api';
|
||||
import { FormGroup, Tile, Grid, GridItem } from '@patternfly/react-core';
|
||||
import { FormGroup, Tile } from '@patternfly/react-core';
|
||||
import './TargetEnvironment.scss';
|
||||
|
||||
const TargetEnvironment = ({ label, isRequired, ...props }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue