- 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
event
as a property of Gesture object, and the Gesture object will be passed as the first parameter when invoked panMove event callback. - So,
rc-swipeout
invokesevent.preventDefault()
to prevent scroll event when pan moving.
- replace
hammer.js
width 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
removeEventListener
bug; - fixed binding and unbinding event bug;
- support es module;
- update deps;
- update react-native-swipeout version
- new: role="button"
- new: support
className
for 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
onClose
for 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