react-modal
Simple react modal
Step
- To install
npm install
- To run
npm run start-example
- To run with example, go to
http://localhost:1234/
Todo
- Test, with complex components
- All input elements focusable
- focus back to open button
- configurable styles
- compound components
- naming conventions
- old school code => latest react code
- keep a collection/definition through which you can select different types of elements to be focused or not.
- passing size of modal
- configurable styling
- give more user-control, no absoluting
- spell checks and good docs..
- handling keypress and keycodes
- include helpers
- Use id for modal parent to select the elements