Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在iOS中先打开一个modal显示照片或者视频选项,然后点击选项后会关闭modal,但是相册也会打开一瞬间后跟着关闭 #230

Open
sclzl opened this issue Feb 15, 2022 · 3 comments

Comments

@sclzl
Copy link

sclzl commented Feb 15, 2022

🐛 Bug Report

To Reproduce

Environment

@lanjinglingxx
Copy link

Me too

@lwrr
Copy link

lwrr commented Oct 27, 2022

修改lib/ActionSheetCustom.js 里的hide方法。

hide = (index) => {
this._hideSheet(() => {
this.setState({visible: false}, () => {
let timerTemp = setTimeout(()=>{
clearTimeout(timerTemp)
this.props.onPress(index)
},300)
})
})
}

@QMY-ZQ
Copy link

QMY-ZQ commented Nov 22, 2022

修改lib/ActionSheetCustom.js里的隐藏方法。

hide = (index) => {
this._hideSheet(() => {
this.setState({visible: false}, () => {
let timerTemp = setTimeout(()=>{
clearTimeout(timerTemp)
this.props.onPress(index)
},300)
})
})
}

这个lib/ActionSheetCustom在哪?我没有找到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants