Skip to content

[Bug Report] 【el-dialog】close bug #15000

@W-Ace

Description

@W-Ace

Element UI version

2.7.2

OS/Browsers version

chrome

Vue version

2.6.10

Reproduction Link

https://jsfiddle.net/cx56bm1y/

Steps to reproduce

I have a dialog, I want to close it by click-modal

but if I mousedown on the dialog and mouseup on the modal, it also closed!! I don't want that

because sometimes I select text in the input will out of bounds, and dialog be closed

What is Expected?

I just want to close it by click-modal only

but after I set close-on-click-modal to false

both of them are invalid, I want to reserve click event

thanks everyone

What is actually happening?

Dialog close issue

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions