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

Added initialX and initialY. #18

Closed weeklyTea closed 1 year ago

weeklyTea commented 3 years ago

Added initialX and initialY props. With these changes it always remembers last position and next time modal window will be opened with previous x and y (in master modal window always opens in the browser center) - not sure how critical is this.

weeklyTea commented 3 years ago

Hi @DylanVann . Could you check this PR and approve if it's fine?

Sledzik commented 2 years ago

Hi @DylanVann would it be possible to merge those changes? I would be very grateful.