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
optimistic-gold•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 🤔xenial-blackOP•3y ago
let me see
optimistic-gold•3y ago
We currently send
false
from the hook, maybe setting it to undefined
might do the trickxenial-blackOP•3y ago
i did like this)
xenial-blackOP•3y ago
and now its working great, maybe you can incapsulate it as a native behaviour?)
undefined too
works correctly)
optimistic-gold•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 🚀xenial-blackOP•3y ago
thanks for help!)