Element: [Bug Report] a bug with "SELECT" component - need to click twice to chose a option on safari with iOS13

Created on 15 Oct 2019  ·  10Comments  ·  Source: ElemeFE/element

Element UI version

2.12.0

OS/Browsers version

safari 13 on iOS13

Vue version

2.6.10

Reproduction Link

https://jsfiddle.net/mmx38qxw/

Steps to reproduce

(1) open the page with on safari 13 with iOS 13,
(2) click the SELECT component and try to chose an option, but it need to click twice and then it can chose the option.

What is Expected?

it should just click once to chose the option.

What is actually happening?

click the SELECT component and try to chose an option, but it need to click twice and then it can chose the option.

Most helpful comment

add scss code:

.el-scrollbar {
  > .el-scrollbar__bar {
    opacity: 1;
  }
}

can resolve it.

All 10 comments

Your demo only have input component.

add scss code:

.el-scrollbar {
  > .el-scrollbar__bar {
    opacity: 1;
  }
}

can resolve it.

@acgotakuatdji It's worked~ but i don't know what is the cause of this problem ? Can you explain ?

@my9074 https://run.iviewui.com/v8lHkSrE

This is the test demo. Just click Content area. And check console log.

You will get the answer.

Still have this problem on ^2.13.0

add scss code:

.el-scrollbar {
  > .el-scrollbar__bar {
    opacity: 1;
  }
}

can resolve it.

Where should i place this? i tried right on a component where i was using select but it didn't work
thanks in advance

add scss code:

.el-scrollbar {
  > .el-scrollbar__bar {
    opacity: 1;
  }
}

can resolve it.

@my9074 https://run.iviewui.com/v8lHkSrE

This is the test demo. Just click Content area. And check console log.

You will get the answer.

Could you elaborate what you trying to say

Adding styles didn't do the trick. How to overcome the issue?

Will this bug be fixed this year?

.el-scrollbar__bar {
    opacity: 1!important;
}

add this to index.scss

Was this page helpful?
0 / 5 - 0 ratings