All notable changes to this project will be documented in this file.
- reverse to put default as default :D (4f004d2)
- add missing props to the docs (88f86cc)
- add docs (7ec0bb2)
- rework initial open/close states (534dc69)
- take out modalPosition logic out of onPositionChange props check (a478ef1)
- take props from the function directly (9680403)
- hardware back button press handler (#148) (7e1cbf0)
- only trigger positive values (6e19ee8)
- remove back press listener on unmount (#137) (eafb8ee), closes #111
- enable scroll when keyboard is toggle (c7a7dbe)
- make sure we don't enable scroll by mistake (716f5ab)
- avoid events to be trigger twice (#130) (9413350)
- disable scroll when using adjustToContentHeight (5550f3f)
- disable scroll with alwaysOpen props on init (990cba7)
- flash drag panHandler (faa670c)
- pan gesture enabled on ios too (5fb661f)
- added-typescript-definition (eb1b448)
- format docs (#131) (f7e53cc)
- minor changes (5801692)
- scrollto method for flatlist and sectionlist (#126) (038a5ab)
- typo/clean (447352f)
- with animated typing for childrens (cb13b06)
- minor changes (6a02268)
- basic support to avoid react-native-web crash (8d98896)
- allow open alwaysOpen modal to default position (bed354e)
- add prop to open full with snap state #150 (#153) (dfd56fb)
- added param to close overlay and condition to pointerEvents #151 (#152) (92db47b)
- add onLayout props #49 (598d548)
- add onOverlayPress #142 (748c3e7)
- add onPositionChange props (#122) (302a347)
- enable horizontal scrolling of ScrollView from RN (#121) (49ec5ae)
- improvements, fixes and new props (#115) (7563c82)
- Revert "fix: flash drag panHandler" (a505648)
- 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