Commit 65a1e8a5 authored by chechunchi's avatar chechunchi

enable background when antd modal is open

parent c11fc549
Pipeline #22428 failed with stages
in 13 minutes and 42 seconds
......@@ -15,3 +15,7 @@
bottom: 0 !important;
transform: translateY(calc(50% - 66px));
}
.neos-modal-wrap {
pointer-events: none;
}
......@@ -21,6 +21,7 @@ export const NeosModal: React.FC<Props> = (props) => {
closeIcon={mini ? <UpOutlined /> : <MinusOutlined />}
bodyStyle={{ padding: "10px 0" }}
mask={!mini}
wrapClassName="neos-modal-wrap"
closable={canBeMinimized}
{...props}
/>
......
import "./index.scss";
import classNames from "classnames";
import React, { useEffect } from "react";
import AnimatedNumbers from "react-animated-numbers";
import { useSnapshot } from "valtio";
import { matStore, playerStore } from "@/stores";
import classNames from "classnames";
import AnimatedNumbers from "react-animated-numbers";
// 三个候选方案
// https://snack.expo.dev/?platform=web
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment