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

偶尔会出现加载失败的情况,暂时不能复现 #211

Open
CuiYuXi opened this issue Jan 17, 2022 · 3 comments
Open

偶尔会出现加载失败的情况,暂时不能复现 #211

CuiYuXi opened this issue Jan 17, 2022 · 3 comments

Comments

@CuiYuXi
Copy link

CuiYuXi commented Jan 17, 2022

正常情况下应该是铺满灰色区域的,但是偶尔会出现展不开的情况。暂时没找到规律不能复现

微信图片_20220117181332

@mirari
Copy link
Owner

mirari commented Jan 17, 2022

有可能是容器的宽高不固定,而是被内部元素影响了。
如果图片加载不出,容器就只有这点大小,导致viewer撑满容器时也只有这点大小
尝试将宽高固定

@CuiYuXi
Copy link
Author

CuiYuXi commented Jan 18, 2022

目前设置了一下 viewer-container的固定宽高暂时没有再出现这种情况。我再观察一下 谢谢
.viewer-container {
width: 620px !important;
height: 650px !important;
}

@CuiYuXi
Copy link
Author

CuiYuXi commented Jan 20, 2022

好像是没有用的,今天又出现了一次这种情况。容器是固定住了但是照片没有铺满

7e5bb759380e305bd833eeb7ffc8759

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

2 participants