- Allow to custom backdrop & container styles
- Fix issue wrong position of the panel when it's stopped in the middle of animation.
- Fix issue can not use horizontal scrollable view (ScrollView, FlatList, SectionList) inside panel.
- Switch exports to ES6 for webpack compatibility.
- Fix issue of using touchable inside panel.
- Implement snapping points.
- Implement
onMomentumDrag*
events. - Add Typescript definations.
- Fix issue call
show()
orhide()
don't slide to proper position. - Move
.babelrc
tobabel.config.js
.
- Fix issue with the position of panel on some Android devices (Devices without bottom navigation bar).
- Handle Android back button behavior.
- Replace eslint configs with
eslint-config-airbnb
.
- Upgrade dependencies to fix the vulnerability of lodash.
- Remove the
visible
andonRequestClose
props. The component now will always be rendered, below the screen. Useshow()
&hide()
to control panel position.
- Animated value is now configurable. Means you can control how the panel appears & disappears with Animated.timing, Animated.spring, Animated.decay.
- Expose more props to enhance effects (Initial velocity, friction, minimum velocity & distance threshold, etc...).
- Support screen orientation.
- Compatible with
react-native-web
(Demo)
- The component now will automatically reacts to the keyboard events. Fixed several issues: #53, #32, #67.
onDragEnd
should be fired when the pan responder is terminated: #82- Fix issue
height
property can not be changed: #74
- Add
startCollapsed
: Initially start the panel at bottom of draggable range.
- Accept function as children. Allow a part of content becomes drag handlers.
- Fix issue can not interact with components underlies the panel.