File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -417,10 +417,10 @@ class BasicTooltipDemo {
417
417
418
418
@Component ( {
419
419
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"
424
424
[md-tooltip]="message"
425
425
[tooltip-position]="position">
426
426
Button
@@ -436,7 +436,7 @@ class ScrollableTooltipDemo {
436
436
437
437
scrollDown ( ) {
438
438
const scrollingContainerEl = this . scrollingContainer . getElementRef ( ) . nativeElement ;
439
- scrollingContainerEl . scrollTop = 140 ;
439
+ scrollingContainerEl . scrollTop = 250 ;
440
440
441
441
// Emit a scroll event from the scrolling element in our component.
442
442
// This event should be picked up by the scrollable directive and notify.
You can’t perform that action at this time.
0 commit comments