element [feature request] for the close-on-click-modal attribute, press and hold the mouse in the dialog, and then release it on the modal, which will also trigger. Actually, you don't want to trigger it

kknvjkwl  于 5个月前  发布在  其他
关注(0)|答案(5)|浏览(44)

Existing Component

Component Name

el-dialog

Description

在dialog内按住鼠标,再modal上松开也会触发,实际不想触发
比如想复制dialog内的输入框内容,选择文本时因为动作过大,鼠标结束位置在dialog外就触发关闭操作,这个结果与用户预期的不符

ippsafx7

ippsafx71#

Translation of this issue:

Existing Component

yes

Component Name

el-dialog

Description

Press and hold the mouse in the dialog, and then release it on the modal, it will also trigger. Actually, you don't want to trigger it

For example, if you want to copy the content of the input box in the dialog, when you select the text, because the action is too large, the end position of the mouse outside the dialog triggers the close operation, which is not consistent with the user's expectation

pdkcd3nj

pdkcd3nj2#

close-on-click-modal 这属性关掉就好了。除了纯查看的弹窗,基本都不需要点击modal关闭

ergxz8rk

ergxz8rk3#

确实有这个问题 现在还没解决吗

iibxawm4

iibxawm44#

close-on-click-modal="false" 设置了这个属性好像也没有起作用,还是可以点击关闭

au9on6nz

au9on6nz5#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题