All notable changes to this project will be documented in this file.
- Use timing function onAnimateClose
- Revert bouncing translate
- Better spring/timing props
- Mask for empty space with bounce
- Fix bouncing on opening animation
- Clean examples from unused functions
- New argument to the
close
method to reset to initial positionalwaysOpen
modal (close('alwaysOpen')
)
- Fix glitchy issue
onAnimateOpen
cause byextrapolate: clamp
andspring
animation
- Remove uppercase from
options.ts
file
- Dev tools (prettier, commitlint)
- BREAKING Move to name import (before)
import Modalize from 'react-native-modalize'
-> (after)import { Modalize } from 'react-native-modalize'
- Fix overlay press to dismiss by @Esirei
- Fix initial state when using
alwaysOpen
by @benjaminreid - Change renovate to keep all changes in same PR
- Update packages
- Update examples
- Rename source files
- Fix flickering issue with adjustToContentHeight by @charpeni
- Add renovate to keep packages up-to-date
- Upgrade dependencies
- Fix issue with hasAbsoluteStyle util
- Fix flickering on swipe gesture
- Update documentation
- Add changelog file
openAnimationConfig
/closeAnimationConfig
to control the animations by @WrathChaos.modalHeight
to set a specific height to the modal by @WrathChaos.
- BREAKING
style
props renamed tomodalStyle
- BREAKING
height
props renamed tosnapPoint
- Create utils file to make internal source lighter
- More gif examples for all behaviors possible
- Move hardwareBackPress to open and close animation functions
- Add
alwaysOpen
props, to keep the modal always open on the bottom of the screen - Bump
js-yaml
package because of security warning
- Improve documentation
- Refactor all examples, and make it easier to use them
- Move examples from React.class to stateless function
- Null check on component passed to Modalize
- Bump packages from source code and examples