Skip to content

Commit c185950

Browse files
Dario Braunjelbourn
authored andcommitted
docs(table): improve TableExpandableRowsExample performance (#15962)
Fix TableExpandableRowsExample for iOS and Edge by removing unnecessary styling rule
1 parent de45fc0 commit c185950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-examples/table-expandable-rows/table-expandable-rows-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {animate, state, style, transition, trigger} from '@angular/animations';
1010
templateUrl: 'table-expandable-rows-example.html',
1111
animations: [
1212
trigger('detailExpand', [
13-
state('collapsed', style({height: '0px', minHeight: '0', display: 'none'})),
13+
state('collapsed', style({height: '0px', minHeight: '0'})),
1414
state('expanded', style({height: '*'})),
1515
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
1616
]),

0 commit comments

Comments
 (0)