Skip to content

Commit

Permalink
fix IE and FF test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin committed Feb 1, 2017
1 parent 2f51ae7 commit f8d8f20
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/tooltip/tooltip.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,10 @@ class BasicTooltipDemo {

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

scrollDown() {
const scrollingContainerEl = this.scrollingContainer.getElementRef().nativeElement;
scrollingContainerEl.scrollTop = 140;
scrollingContainerEl.scrollTop = 250;

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

0 comments on commit f8d8f20

Please sign in to comment.