Skip to content

Commit 30ae78e

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 c7456e3 commit 30ae78e

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
@@ -2169,7 +2169,7 @@ describe('MDC-based MatAutocomplete', () => {
21692169
let inputReference = fixture.debugElement.query(By.css('.mdc-text-field'))!.nativeElement;
21702170

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

21752175
dispatchFakeEvent(inputEl, 'focusin');

0 commit comments

Comments
 (0)