We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
slide控件如果放在某个view中,如果这个view是通过动画出现的,比如初始位置是transform: translateX(100%),然后通过动画设成了transform: translateX(0),也就是从页面渐入,此时ready 方法里的startX计算就会有问题 wx.createSelectorQuery().in(this).select('.slider-stick__wrap').boundingClientRect((res) => { const width = res.width const startX = res.left //这里的计算会有问题
The text was updated successfully, but these errors were encountered:
好的,谢谢你的反馈
Sorry, something went wrong.
期待修复
No branches or pull requests
slide控件如果放在某个view中,如果这个view是通过动画出现的,比如初始位置是transform: translateX(100%),然后通过动画设成了transform: translateX(0),也就是从页面渐入,此时ready 方法里的startX计算就会有问题
wx.createSelectorQuery().in(this).select('.slider-stick__wrap').boundingClientRect((res) => {
const width = res.width
const startX = res.left //这里的计算会有问题
The text was updated successfully, but these errors were encountered: