We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae6f01f commit d68541aCopy full SHA for d68541a
src/components/swipe-action/index.tsx
@@ -30,7 +30,7 @@ export default class AtSwipeAction extends AtComponent<
30
private startX: number
31
private startY: number
32
private maxOffsetSize: number
33
- private domInfo: Taro.rectElement
+ private domInfo: any
34
private isMoving: boolean
35
private isTouching: boolean
36
@@ -243,7 +243,7 @@ export default class AtSwipeAction extends AtComponent<
243
<View
244
key={`${item.text}-${key}`}
245
style={item.style}
246
- onClick={this.handleClick.bind(this, item, key)}
+ onClick={e => this.handleClick(item, key, e)}
247
className={classNames(
248
'at-swipe-action__option',
249
item.className
0 commit comments