Open sclzl opened 2 years ago
Me too
修改lib/ActionSheetCustom.js 里的hide方法。
hide = (index) => {
this._hideSheet(() => {
this.setState({visible: false}, () => {
let timerTemp = setTimeout(()=>{
clearTimeout(timerTemp)
this.props.onPress(index)
},300)
})
})
}
修改lib/ActionSheetCustom.js里的隐藏方法。
hide = (index) => { this._hideSheet(() => { this.setState({visible: false}, () => { let timerTemp = setTimeout(()=>{ clearTimeout(timerTemp) this.props.onPress(index) },300) }) }) }
这个lib/ActionSheetCustom在哪?我没有找到
🐛 Bug Report
To Reproduce
Environment