angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.35k stars 6.74k forks source link

bug(select): For multiple select, previously opened dropdown doesnt allow the click on another select or other components unless it has been closed by clicking elsewhere on the page #21251

Open LakshmiRohit opened 3 years ago

LakshmiRohit commented 3 years ago

Use StackBlitz to reproduce your issue:

Steps to reproduce:

  1. Click on the arrow of one of the select( do not click elsewhere)
  2. Click on the other select arrow

Expected Behavior

What behavior were you expecting to see? The previously expanded select should collapse and the newly clicked select should expand

Actual Behavior

What behavior did you actually see? Previosuly expanded select does not collapse. Need to click on second select twice to collapse the previously expanded select and to expand the second select

Environment

crisbeto commented 3 years ago

We didn't do this before due to how the CDK overlays are set up, but we should be able to do it now with the OverlayOutsideClickDispatcher. I suspect that it'll cause a lot of test failures though.

angular-robot[bot] commented 2 years ago

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] commented 2 years ago

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.