sensitive-blue•3y ago
Broken drawer after update to new antd version
Yesterday i updated refine-antd from 3.6.1 to 4.1
and my nested drawers got stacked in data container, looks like a problem with overflow: hidden somewhere🤔
7 Replies
fair-rose•3y ago
Hey @amounguluz, sorry for the issue, looks like the drawer is not placing itself in the
body and places to its parent instead 🤔 Can you try passing getContainer in modalProps. You can check out the API here https://ant.design/components/drawer#api
Let me ping a member with more ant@5 experience and a fellow webstormer 🤣 @yildirayunlu can you check this issue? Looks like something broken with the getContainer or something else with the drawers 🤔sensitive-blueOP•3y ago
let me see
fair-rose•3y ago
We currently send
false from the hook, maybe setting it to undefined might do the tricksensitive-blueOP•3y ago
i did like this)

sensitive-blueOP•3y ago
and now its working great, maybe you can incapsulate it as a native behaviour?)
undefined too
works correctly)
fair-rose•3y ago
Yeah, I think leaving it as default is better but let me check if there's a reason behind setting it to
false in useDrawerForm 🤔
Good to hear its working now 🚀sensitive-blueOP•3y ago
thanks for help!)