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