You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(Modal): Support fade and timeout props in the Modal component to allow configuring + disabling of the fade effect (#339)
* Support a fade=false prop in the Modal component
- if fade=false, the following happens:
- no 'fade' class is applied
- the modal + backdrop transition timeouts become 0
- the transitionAppear, etc. booleans passed to Fade are false
* Update fadeless-modal to not use the Fade component
- This feels like a better design. If we are not doing
a fade effect, why use a Fade component?
- This also gets rid of the usage of TransitionGroup
when fade={false}.
- Ensure onEnter and onExit fire when expected.
* DRY up shared code between fade-modal and fadeless-modal
- Extract modalDialog rendering into a separate method
- Simplify the variable setting in #renderChildren
following the movement of several of them into
#modalDialog
* Make modalTransitionTimeout and backdropTransitionTimeout configurable as props
- Update docs
- Add test
* Fix warning about missing context in DropdownMenu spec
* Allow configuring appear v. enter v. leave timeouts separately
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
0 commit comments