ant-modal-wrap background color in useModal
I'm using useModal in my project
"@pankod/refine-antd": "^4.7.3"
Why the modal's background is totally black
Even I've changed the css / modalPros, they did not work at all
Can someone help me about it 🙏🙏🙏




3 Replies
optimistic-goldOP•2y ago
same with antd's example
Maybe, it's an antd issue (antd@5.3.0)

other-emerald•2y ago
Hello @劉哲宇 , can you provide us a stackblitz example to debug?
optimistic-goldOP•2y ago
Sure, I will do it latter
@batuhanw thank you for the reply.
I think I've fixed the problem.
Even though I did not really know what I did.
I just...hmm...
upgraded antd...then failed, then downgraded...
upgraded refine...
kept developing my features, fixed some typescript and errors...
.
.
.
hours later, I checked the Modal.
and it worked!? I did not know what I did cause the problem and what fixed the problem.