absent-sapphire
absent-sapphire15mo ago

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
No description
No description
No description
3 Replies
absent-sapphire
absent-sapphire15mo ago
same with antd's example Maybe, it's an antd issue (antd@5.3.0)
No description
ugly-tan
ugly-tan15mo ago
Hello @劉哲宇 , can you provide us a stackblitz example to debug?
absent-sapphire
absent-sapphire15mo 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.