Make the edit modal view
ykdojo opened this issue · 5 comments
ykdojo commented
Make the edit modal view
ykdojo commented
Working on this now. I think we can use this: http://reactcommunity.org/react-modal/
ykdojo commented
I'm going to be working on this on this branch: https://github.com/ykdojo/editdojoprivate/tree/react-modal
ykdojo commented
TODO next:
- Move Post class into a separate file?
- The modal should appear when the "Edit" button is clicked.
- When the modal is closed, the UI should scroll back to the original post.
- *Design the modal (decide what it should look like)
- When the modal overlay is clicked, the modal should close (it currently doesn't work.)
- Make the modal functional
- Fix the styles of the modal
ykdojo commented
Trying to prevent scrolling on the body right now. iOS might be kind of a pain.
This might work, though: https://medium.com/jsdownunder/locking-body-scroll-for-all-devices-22def9615177