mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix(SchemaSettingsActionModalItem): fix zIndex (#6733)
This commit is contained in:
parent
8dbe798fca
commit
2faed8de79
@ -48,6 +48,7 @@ import {
|
|||||||
SchemaSettingsItemType,
|
SchemaSettingsItemType,
|
||||||
SchemaToolbarVisibleContext,
|
SchemaToolbarVisibleContext,
|
||||||
VariablesContext,
|
VariablesContext,
|
||||||
|
getZIndex,
|
||||||
useCollection,
|
useCollection,
|
||||||
useCollectionManager,
|
useCollectionManager,
|
||||||
useZIndexContext,
|
useZIndexContext,
|
||||||
@ -695,7 +696,7 @@ export const SchemaSettingsActionModalItem: FC<SchemaSettingsActionModalItemProp
|
|||||||
const upLevelActiveFields = useFormActiveFields();
|
const upLevelActiveFields = useFormActiveFields();
|
||||||
const parentZIndex = useZIndexContext();
|
const parentZIndex = useZIndexContext();
|
||||||
|
|
||||||
const zIndex = parentZIndex + 10;
|
const zIndex = getZIndex('modal', parentZIndex + 10, 0);
|
||||||
|
|
||||||
const form = useMemo(
|
const form = useMemo(
|
||||||
() =>
|
() =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user