Skip to content

Instantly share code, notes, and snippets.

@zjiekai
Created July 6, 2016 08:41
Show Gist options
  • Save zjiekai/7afabcd8b50714b89ed281d776b271f6 to your computer and use it in GitHub Desktop.
Save zjiekai/7afabcd8b50714b89ed281d776b271f6 to your computer and use it in GitHub Desktop.
How does angular-material select work
The problem: When clicking, how should the select dropdown be closed?
The angular-material solution:
Use a backdrop
https://github.com/angular/material/blob/c13feb76bd05d026a71fc8e7c4a556a1ebd56831/src/components/backdrop/backdrop.scss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment