File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1229,8 +1229,8 @@ describe('MatAutocomplete', () => {
12291229
12301230 it ( 'should fall back to above position if panel cannot fit below' , async ( ( ) => {
12311231 // Push the autocomplete trigger down so it won't have room to open "below"
1232- inputReference . style . top = '600px ' ;
1233- inputReference . style . position = 'relative ' ;
1232+ inputReference . style . bottom = '0 ' ;
1233+ inputReference . style . position = 'fixed ' ;
12341234
12351235 fixture . componentInstance . trigger . openPanel ( ) ;
12361236 fixture . detectChanges ( ) ;
@@ -1247,8 +1247,8 @@ describe('MatAutocomplete', () => {
12471247
12481248 it ( 'should align panel properly when filtering in "above" position' , async ( ( ) => {
12491249 // Push the autocomplete trigger down so it won't have room to open "below"
1250- inputReference . style . top = '600px ' ;
1251- inputReference . style . position = 'relative ' ;
1250+ inputReference . style . bottom = '0 ' ;
1251+ inputReference . style . position = 'fixed ' ;
12521252
12531253 fixture . componentInstance . trigger . openPanel ( ) ;
12541254 fixture . detectChanges ( ) ;
You can’t perform that action at this time.
0 commit comments