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

[Bug Report] click el-image will add "overflow: hidden" to body makes the page unable to scroll #18490

Closed
bijinfeng opened this issue Dec 23, 2019 · 8 comments

Comments

@bijinfeng
Copy link

Element UI version

2.13.0

OS/Browsers version

macOS/Chrome79.0.3945.88

Vue version

2.6.11

Reproduction Link

https://codepen.io/bijinfeng/pen/mdymBgw

Steps to reproduce

click el-image element, check body attributes, you will find "overflow: hidden"

What is Expected?

I think only el-image element has "preview-src-list" attributes,could add "overflow: hidden" to body.

What is actually happening?

no "preview-src-list" attributes,still have "overflow: hidden" in body

@liuwujie
Copy link

I actually had the same problem,I haven't found the right solution yet。

@liuwujie
Copy link

Before the problem is solved,You can set the body style to overflow: auto !important first

@suryachansrasoi
Copy link

I am also getting the same problem.

@xxwangkaimin
Copy link

这个是由于element-ui的Image组件的原因,估计下个版本会解决,暂时可以传个imglist参数过去值是图片的地址

@jkhmnk
Copy link

jkhmnk commented Jan 9, 2020

我也是遇到这问题,一点击 滚动条就没有了 无了个语

@copoile
Copy link

copoile commented Feb 28, 2020

I actually had the same problem,I haven't found the right solution yet。

@lalawila
Copy link

同有这问题好久了

@luckyCao
Copy link
Contributor

luckyCao commented Apr 8, 2020

#19075

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

8 participants