ElemeFE / element-react

Element UI
https://elemefe.github.io/element-react/index
MIT License
2.83k stars 443 forks source link

Select hangs IE11 #998

Open iddqdidkfa opened 5 years ago

iddqdidkfa commented 5 years ago

Description

Form Select element makes IE11 stuck and not responding.

Reproduce Steps

  1. Insert Select element with some options to page
  2. Open page in IE11
  3. Click on Select element

Error Trace (if possible)

Unfortunately there is no possibility to get anything from IE after click.

Solution

I have already tried to disable Select dropdown animations with CSS and it does not work. Not sure how to fix it.

Additional Information

Select element from Vue library works fine in IE11. I have temporary replaced it with react-select component. It has similar features and a bit different API, works just fine inside Form.Item component.

Emiya0306 commented 5 years ago

Yep~ We have the same issue. And the solution is replacing the React.Component to React.PureComponent. Just like this PR.

Have a nice day~

jdsandifer commented 4 years ago

@Emiya0306 I know it's been a while, but the link you posted above seems to go to another repo. Has a PR for that solution been created in this repo?

I have the same issue and would love to help in whatever way I can to help fix this.

Emiya0306 commented 4 years ago

@jdsandifer OK, I will create the PR for this repo today. 👌