Skip to content

[Bug Report] when el-image in a scrolling div. Left clik the image will lead to the page can't scroll  #18234

@zzxCNCZ

Description

@zzxCNCZ

Element UI version

2.13.0

OS/Browsers version

chrome 78.0.3904.108

Vue version

2.6.10

Reproduction Link

https://codepen.io/zzxcncz/pen/LYYwOXo

Steps to reproduce

click the image ,then the page can't scroll

What is Expected?

click the image ,then the page can scroll

What is actually happening?

click the image ,then the page can scroll.
i fock the code from the element ui website.The demo of the component in the website can also lead the result. Just click the image ,and chage to other page.Then the other page can't scroll.
i found the reason is when i click the image in a scrolling div. it will add a css in .the css is over-flow: hidden.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions