🐛 Fixing zIndex when using "add to Homarr"

This commit is contained in:
ajnart
2023-01-19 08:15:59 +09:00
parent e950987359
commit b67b60e80d
2 changed files with 3 additions and 2 deletions

View File

@@ -110,6 +110,8 @@ export const IntegrationSelector = ({ form }: IntegrationSelectorProps) => {
clearable clearable
variant="default" variant="default"
searchable searchable
zIndex={203}
withinPortal
filter={(value, item) => filter={(value, item) =>
item.label?.toLowerCase().includes(value.toLowerCase().trim()) || item.label?.toLowerCase().includes(value.toLowerCase().trim()) ||
item.description?.toLowerCase().includes(value.toLowerCase().trim()) item.description?.toLowerCase().includes(value.toLowerCase().trim())
@@ -128,7 +130,6 @@ export const IntegrationSelector = ({ form }: IntegrationSelectorProps) => {
form.setFieldValue('integration.properties', getNewProperties(value)); form.setFieldValue('integration.properties', getNewProperties(value));
inputProps.onChange(value); inputProps.onChange(value);
}} }}
withinPortal
{...inputProps} {...inputProps}
/> />
); );

View File

@@ -167,7 +167,7 @@ export default function ContainerActionBar({ selected, reload }: ContainerAction
const containerUrl = `http://localhost:${selected[0].Ports[0].PublicPort}`; const containerUrl = `http://localhost:${selected[0].Ports[0].PublicPort}`;
openContextModalGeneric<{ app: AppType; allowAppNamePropagation: boolean }>({ openContextModalGeneric<{ app: AppType; allowAppNamePropagation: boolean }>({
modal: 'editApp', modal: 'editApp',
zIndex: 1000, zIndex: 202,
innerProps: { innerProps: {
app: { app: {
id: uuidv4(), id: uuidv4(),