DylanVann / ant-design-draggable-modal

The Modal from Ant Design, draggable.
https://ant-design-draggable-modal.netlify.com
MIT License
165 stars 53 forks source link

support antd v5? #32

Open wahello opened 2 years ago

wahello commented 2 years ago

support antd v5?

DylanVann commented 2 years ago

I don't see any releases of Ant Design 5. Do you have any information on that?

abenhamdine commented 2 years ago

there's no ETA for antd 5 yet

mduchev commented 1 year ago

Not sure if my PR will get merged, but for AntD v5 support, you can take a look at this PR: https://github.com/DylanVann/ant-design-draggable-modal/pull/40

hakankosdag commented 2 months ago

Hi @DylanVann ,

I was wondering if there are any plans to update the repository to support Ant Design 5. If not, is there any chance it might be considered in the near future?

Thank you!

abenhamdine commented 2 months ago

Hi @DylanVann ,

I was wondering if there are any plans to update the repository to support Ant Design 5. If not, is there any chance it might be considered in the near future?

Thank you!

You can use react-draggable, it works fine with antd5

import Draggable from 'react-draggable'
...
<Modal
modalRender={modal => <Draggable >{modal}</Draggable>}
// other props
</Modal>
marekgregor commented 4 days ago

Antd5 implementation of resizable modal dialog: https://github.com/CUBETIQ/antd-modal I suppose it is a fork of this repo.