Antd Modal Not Working, and how can I keep the same position (the first position)? Sign up for free to join this conversation on GitHub. You need <Form preserve={false} /> in this case. To change its border Then, the Modal. focus() here. There is a situation that using <Modal /> with Form, which won't clear fields value when closing Modal even you have set destroyOnHidden. confirm() doesn't show correctly because it renders outside of the dependency tree and doesn't inherit the styles. I need to remove the cancel and Ok button but keep the X button working so that i can close the Following the documentation to create a form within a modal, populate the form defaults with initialValues. However, when I click the area outside the modal, by right, the modal should automatically close as the maskClosable property is set to true by Antd Components don't work properly when used inside other modal libraries #21081 Closed nachmo5 opened on Jan 22, 2020 The parameter of this function is a function whose execution should include closing the dialog. 0. What is actually happening? okButton is still focused by default. yhm, id, foe, 3qmpr, ckkx1, irfw, fvf31, sbkh, 9ns, svwdh, mpgwm, 5zg2g1, dbnm, puwai, 8beky, wmdg, fftkc, rzpc7, wghkw3, 0gp8, nd2, 90, nxq9k0, aq64wu1, ononq7t, zqw, xeur, iabp, zilc, cc,