bughelp wantedpriority: high
仓库指标
- Star
- (4,524 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Problem reproduction: Go to the forms example and open the menu of a select control. Than click on the next input field below. The focus switches to the input field and later back to the select box.
In both the react- and the js-variant of mui-select you can find a statemen selectEl.focus(); It should refocus the select element after closing the corresponding menu. But if you close the menu by clicking into another control, the focus switches from the other control back to the select element. So the statement above should not be called if the menu is closed by not selecting a menu item.