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

Possibility of adding a different start position of the modal #30

Open subhyde opened 3 years ago

subhyde commented 3 years ago

Currently, the Modal will open in the middle of the screen. When following the ant design practices on how to change the starting position of the modal it states to do the following:

style={{left: 0}}

if we were to have the Modal open on the left of the screen.

If we do this with this library it will open on the left of the screen but this removes all draggability functionality. Is there a workaround for this?