element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] uses el-autocomplete, pop-up bug in dialog

Open wang22123467469 opened this issue 8 years ago • 11 comments

Element UI version

2.0.8

OS/Browsers version

Google Chrome 62.0.3202.62

Vue version

2.5.13

Reproduction Link

https://jsfiddle.net/api/post/library/pure/

Steps to reproduce

我在dialog中使用从数据库中搜索数据,然后展示数据的层在dialog层下面

What is Expected?

搜索出来的层应该,在dialog之上,z-index的值应该大于dialog的z-index

What is actually happening?

yes

wang22123467469 avatar Dec 22 '17 08:12 wang22123467469

Translation of this issue:

Element UI version

2.0.8

OS/Browsers version

Google Chrome 62.0.3202.62

Vue version

2.5.13

Reproduction Link

https://jsfiddle.net/api/post/library/pure/

Steps to reproduce

I use the database to search for data in dialog, and then the layer that shows the data is under the dialog layer

What is Expected?

The search layer should be on top of dialog, and the value of Z-index should be greater than the Z-index of dialog

What is actually happening?

Yes

element-bot avatar Dec 22 '17 08:12 element-bot

Hi, your JSFiddle page is blank because it seems you forgot to click the Save button. Please save your fiddle and then edit this issue with the new link.

element-bot avatar Dec 22 '17 08:12 element-bot

You can add css with: .el-select-dropdown { z-index: 99999 !important; }

wanghongrui avatar Dec 25 '17 09:12 wanghongrui

Issues without a valid reproduction link will be closed directly.

Leopoldthecoder avatar Jan 07 '18 12:01 Leopoldthecoder

Updated reproduction link: https://jsfiddle.net/okanesen/j8ssw60u/

Here's a demonstration of the bug: bug-vue-autocomplete-dialog mov

OkanEsen avatar Jan 07 '18 16:01 OkanEsen

untitled

Didn't reproduce it.

Leopoldthecoder avatar Jan 08 '18 02:01 Leopoldthecoder

It does need a few tries and happens randomly. Maybe it is browser related, I haven't had time to test it yet. I'm using Firefox 59.0a1.

OkanEsen avatar Jan 08 '18 03:01 OkanEsen

same issue here

aaachou avatar Jan 11 '18 13:01 aaachou

same issue here

warplan avatar Jan 17 '18 01:01 warplan

same issue here

ghost avatar Jan 22 '18 09:01 ghost

Ah, this will be fixed in the next release.

Leopoldthecoder avatar Jan 22 '18 11:01 Leopoldthecoder