select
select copied to clipboard
Bug: Previous select is not closed when new one is opened via expand icon
After researching source code I've found that select is using 'onGlobalMouseDown' callback for tracking outside 'mousedown' event to handle situations where outer click occured or another select instance is opened - then it closes all selects, which were opened before. Unfortunately it doesn't work for situation with opening next select through clicking on 'expandIcon' , because 'rc-select' component inner implementation is calling event.preventDefault which makes impossible to catch this and close previously opened select instances.
We're running into the same problem.