@@ -13,9 +13,6 @@ import {
1313 style ,
1414 transition ,
1515 trigger ,
16- query ,
17- animateChild ,
18- group ,
1916} from '@angular/animations' ;
2017
2118/**
@@ -39,7 +36,7 @@ export const matSelectAnimations: {
3936 */
4037 transformPanel : trigger ( 'transformPanel' , [
4138 state ( 'void' , style ( {
42- transform : 'scaleY(0)' ,
39+ transform : 'scaleY(0.8 )' ,
4340 minWidth : '100%' ,
4441 opacity : 0
4542 } ) ) ,
@@ -53,19 +50,16 @@ export const matSelectAnimations: {
5350 minWidth : 'calc(100% + 64px)' , // 64px = 48px padding on the left + 16px padding on the right
5451 transform : 'scaleY(1)'
5552 } ) ) ,
56- transition ( 'void => *' , group ( [
57- query ( '@fadeInContent' , animateChild ( ) ) ,
58- animate ( '150ms cubic-bezier(0.25, 0.8, 0.25, 1)' )
59- ] ) ) ,
60- transition ( '* => void' , [
61- animate ( '250ms 100ms linear' , style ( { opacity : 0 } ) )
62- ] )
53+ transition ( 'void => *' , animate ( '120ms cubic-bezier(0, 0, 0.2, 1)' ) ) ,
54+ transition ( '* => void' , animate ( '100ms 25ms linear' , style ( { opacity : 0 } ) ) )
6355 ] ) ,
6456
6557 /**
6658 * This animation fades in the background color and text content of the
6759 * select's options. It is time delayed to occur 100ms after the overlay
6860 * panel has transformed in.
61+ * @deprecated Not used anymore. To be removed.
62+ * @breaking -change 8.0.0
6963 */
7064 fadeInContent : trigger ( 'fadeInContent' , [
7165 state ( 'showing' , style ( { opacity : 1 } ) ) ,
0 commit comments