Skip to content

Commit 8fa6817

Browse files
committed
fix(material/autocomplete): update style.bottom value for broken test
Fixes breaking Angular Component Autocomplete comoponent's autocomplete spec.ts so that the value falls within an acceptable range based on the new behavior of the autocomplete in landscape mode. Fixes b/284148377
1 parent 88a0520 commit 8fa6817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/autocomplete/autocomplete.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,7 @@ describe('MDC-based MatAutocomplete', () => {
21832183
let inputReference = fixture.debugElement.query(By.css('.mdc-text-field'))!.nativeElement;
21842184

21852185
// Push the element down so it has a little bit of space, but not enough to render.
2186-
inputReference.style.bottom = '75px';
2186+
inputReference.style.bottom = '100px';
21872187
inputReference.style.position = 'fixed';
21882188

21892189
dispatchFakeEvent(inputEl, 'focusin');

0 commit comments

Comments
 (0)