Skip to content

Commit 86a78cd

Browse files
committed
fix IE and FF test failures
1 parent fc13392 commit 86a78cd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/lib/tooltip/tooltip.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -417,10 +417,10 @@ class BasicTooltipDemo {
417417

418418
@Component({
419419
selector: 'app',
420-
template: `
421-
<div cdk-scrollable style="padding: 100px; margin: 300px;
422-
height: 200px; width: 200px; overflow: auto;">
423-
<button *ngIf="showButton" style="margin-bottom: 350px"
420+
template: `
421+
<div cdk-scrollable style="padding: 100px; margin: 300px;
422+
height: 200px; width: 200px; overflow: auto;">
423+
<button *ngIf="showButton" style="margin-bottom: 600px"
424424
[md-tooltip]="message"
425425
[tooltip-position]="position">
426426
Button
@@ -436,7 +436,7 @@ class ScrollableTooltipDemo {
436436

437437
scrollDown() {
438438
const scrollingContainerEl = this.scrollingContainer.getElementRef().nativeElement;
439-
scrollingContainerEl.scrollTop = 140;
439+
scrollingContainerEl.scrollTop = 250;
440440

441441
// Emit a scroll event from the scrolling element in our component.
442442
// This event should be picked up by the scrollable directive and notify.

0 commit comments

Comments
 (0)