Fixed some UI issues caused by React and Mantine upgrade. #2167

This commit is contained in:
morpheus65535 2023-06-10 09:10:20 -04:00
parent 3c57381bb4
commit bc40abac50
2 changed files with 2 additions and 1 deletions

View File

@ -93,6 +93,7 @@ export function Selector<T>({
return ( return (
<Select <Select
withinPortal={true}
data={data} data={data}
defaultValue={wrappedDefaultValue} defaultValue={wrappedDefaultValue}
value={wrappedValue} value={wrappedValue}

View File

@ -237,7 +237,7 @@ const StateIcon: FunctionComponent<{ matches: string[]; dont: string[] }> = ({
const { ref, hovered } = useHover(); const { ref, hovered } = useHover();
return ( return (
<Popover opened={hovered} position="top" width={360} withArrow> <Popover opened={hovered} position="top" width={360} withArrow withinPortal>
<Popover.Target> <Popover.Target>
<Text color={hasIssues ? "yellow" : "green"} ref={ref}> <Text color={hasIssues ? "yellow" : "green"} ref={ref}>
<FontAwesomeIcon <FontAwesomeIcon