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 🙏🙏🙏
![No description](https://cdn.answeroverflow.com/1082856873067294791/image.png)
![No description](https://cdn.answeroverflow.com/1082856873339920465/image.png)
![No description](https://cdn.answeroverflow.com/1082856873633513552/image.png)
![No description](https://cdn.answeroverflow.com/1082856873876795552/image.png)
3 Replies
metropolitan-bronze•2y ago
same with antd's example
Maybe, it's an antd issue (antd@5.3.0)
![No description](https://cdn.answeroverflow.com/1082862936227319808/image.png)
extended-salmon•2y ago
Hello @劉哲宇 , can you provide us a stackblitz example to debug?
metropolitan-bronze•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.