Make react-draggable work with React Bootstrap Modal
See original GitHub issueIs there a way to make react-draggable work React Bootstrap Modal?
I’m thinking at something like this (btw…this doesn’t work):
<Draggable handle=".modal-header">
<Modal className="myClass" {...this.props} bsSize='small' title='Modal heading' animation={false}>
<div className='modal-body'>
<span>This is a test!</span>
</div>
<div className='modal-footer'>
<Button>Close</Button>
</div>
</Modal>
</Draggable>
Issue Analytics
- State:
- Created 8 years ago
- Comments:8
Top Results From Across the Web
how to make react-bootstrap modal draggable - Stack Overflow
Using react-draggable npm package, I was able to make contents draggable and droppable. But the back of whole dialog stays in place, and...
Read more >Make a Modal Draggable with React Js / Bootstrap - YouTube
Learn how to make a React Js Modal draggable. This tutorial is very beginner-friendly and anyone can make it.
Read more >Draggable React Bootstrap modal - gists · GitHub
import Draggable from 'react-draggable';.
Read more >[Solved]-how to make react-bootstrap modal draggable-Reactjs
I think this solution is more simple and you could use the whole modal header to drag the modal. import { Modal, ModalHeader,...
Read more >react modal dialog draggable - CodeSandbox
react modal dialog draggable. 0. Embed Fork Create Sandbox Sign in. Sandbox Info. react modal dialog draggable. 0. 4.3k. 43. zhuqlingzhuqling.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

For anyone who might bump in this and would like to have a draggable react-bootstrap dialog, I made a GIST. https://gist.github.com/burgalon/870a68de68c5ed15c416fab63589d503
Thanks @burgalon , This may help me build a similar solution for react-modal (react-modal#45, react-modal#232)