- add browserslist config file, then tell babel need to add prefix for
display: flex. - refine swipe and demo
- fix: ant-design/ant-design-mobile#1954 (#56)
- fix: ant-design/ant-design-mobile#1954 As rc-gesture revert preventDefault in v0.0.19 for tabs+listview issue (ant-design/ant-design-mobile#2589).
- Then, rc-gesture@v0.0.20 fixed this issue by exposing the
eventas a property of Gesture object, and the Gesture object will be passed as the first parameter when invoked panMove event callback. - So,
rc-swipeoutinvokesevent.preventDefault()to prevent scroll event when pan moving.
- replace
hammer.jswidth rc-gesture
- replace
object.omit, update style
- improve: disabled swipe if deltaX < deltaY
- improve: auto width for swipe buttons, #40
- fixed: only one hand can be swiped if left or right is null.
- fixed
removeEventListenerbug; - fixed binding and unbinding event bug;
- support es module;
- update deps;
- update react-native-swipeout version
- new: role="button"
- new: support
classNamefor button;
- fix: onCloseSwipe prefixCls bug;
- add cover
div, for body touchstart - fix: buttons cannot be hidden when pan short distance
- prevent default of event;
- support
onClosefor rn;
- click body to close swipe buttons; #19, #10
- support event arg for onPress; #18
- swipe to close for web;
- fix issue/9
- use babel-runtime
- update deps
- [
new] react-native support
- [
fix] error if this.refs.left/right is []
- [
fix] npm package empty
init project