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
问题描述 在 H5 端,点击预览一张图片,然后在滑动到下一张图片时立刻点击关闭预览,会报错 index.umd.min.js:1 Uncaught TypeError: Cannot read property 'offsetWidth' of undefined
H5
index.umd.min.js:1 Uncaught TypeError: Cannot read property 'offsetWidth' of undefined
复现步骤 一定要是切换图片后立即点击关闭预览,否则不报错
预期结果 不出错
实际结果 index.umd.min.js:1 Uncaught TypeError: Cannot read property 'offsetWidth' of undefined at VueComponent._updateViewport (index.umd.min.js:1) at VueComponent._animateFrameFuncProto (index.umd.min.js:1)
系统信息:
附件 一个简单的 demo:test.zip
demo
The text was updated successfully, but these errors were encountered:
c576892
zhetengbiji
No branches or pull requests
问题描述
在
H5
端,点击预览一张图片,然后在滑动到下一张图片时立刻点击关闭预览,会报错index.umd.min.js:1 Uncaught TypeError: Cannot read property 'offsetWidth' of undefined
复现步骤
![错误](https://user-images.githubusercontent.com/48236054/70858631-7f294300-1f40-11ea-91e1-bcdcece39ea5.gif)
一定要是切换图片后立即点击关闭预览,否则不报错
预期结果
不出错
实际结果
![错误](https://user-images.githubusercontent.com/48236054/70858649-cb748300-1f40-11ea-9fce-7222d981cdcd.png)
index.umd.min.js:1 Uncaught TypeError: Cannot read property 'offsetWidth' of undefined
at VueComponent._updateViewport (index.umd.min.js:1)
at VueComponent._animateFrameFuncProto (index.umd.min.js:1)
系统信息:
附件
一个简单的
demo
:test.zipThe text was updated successfully, but these errors were encountered: