Skip to content

Commit 6bc83a9

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 4547025 commit 6bc83a9

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

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

21782178
dispatchFakeEvent(inputEl, 'focusin');

0 commit comments

Comments
 (0)