Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support draggable dialog #119

Closed
wants to merge 1 commit into from

Conversation

naomipol
Copy link

@naomipol naomipol commented Jun 6, 2019

I would like to add draggable functionality to dialog as requested in this issue: #37

I have also tried to wrap the component with react-draggable, but unfortunately it doesn't work like mentioned in this issue: #90

This PR uses react-draggable https://github.com/mzabriskie/react-draggable that wraps the inner dialog element.

An alternative implementation to support draggable functionality could be adding a dialogElement prop - a custom element that will be passed to wrap the dialog element.
This way the consumer could pass the Draggable component.

Please let me know what you think.
I really need this feature!

Thanks.

@coveralls
Copy link

coveralls commented Jun 6, 2019

Coverage Status

Coverage increased (+0.05%) to 91.379% when pulling 1f8a227 on naomipol:feat-draggable into d96907a on react-component:master.

@naomipol
Copy link
Author

@yiminghe It will be very appreciated if you can take a look at this PR! I'll be happy to get your inputs!

@andreyevyk
Copy link

andreyevyk commented May 13, 2020

When this PR will be generating a new version?

@naomipol
Copy link
Author

@afc163 I have fixed the conflicts, could this be merged soon?

@xrkffgg
Copy link
Member

xrkffgg commented Sep 1, 2020

Support in #195

@xrkffgg xrkffgg closed this Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants