ElementUI / lib

Element release lib
40 stars 18 forks source link

Select Component Initiates Focus Again When Moving Away And Back To Window Tab #6

Open jakedewitt87 opened 4 years ago

jakedewitt87 commented 4 years ago

So the issue here is when you have a Element UI select input (https://element.eleme.io/?ref=madewithvuejs.com#/en-US/component/select) and you add the "filterable" attribute to the select component. Then if you select an option in that select box and then click on a new tab in your browser and then return back to the first tab, then the dropdown list is displayed again even though an option was already selected previously.

I was able to recreate this with your own documentation page here https://element.eleme.io/?ref=madewithvuejs.com#/en-US/component/select just scroll down to the "Option filtering" section, then select an option from that dropdown click on a new tab in your browser and then click back to return to that original tab. Also I created a video from one of my development projects showing the issue as well:

https://www.screencast.com/t/6stkc2zckq4

Thanks for you help on this!