File tree Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 2
2
< h1 > Tooltip Demo</ h1 >
3
3
4
4
< p class ="centered " style ="height: 200px; overflow: auto; " cdk-scrollable >
5
- < button #tooltip ="mdTooltip " style ="margin: 300px; "
5
+ < button #tooltip ="mdTooltip " style ="margin-bottom : 300px; "
6
6
md-raised-button
7
7
color ="primary "
8
8
[mdTooltip] ="message "
@@ -11,6 +11,7 @@ <h1>Tooltip Demo</h1>
11
11
[mdTooltipHideDelay] ="hideDelay ">
12
12
Mouse over to see the tooltip
13
13
</ button >
14
+ Scroll down while tooltip is open to see it hide automatically
14
15
</ p >
15
16
16
17
< p >
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ export class TooltipDemo {
12
12
position : TooltipPosition = 'below' ;
13
13
message : string = 'Here is the tooltip' ;
14
14
showDelay = 0 ;
15
- hideDelay = 0 ;
15
+ hideDelay = 1000 ;
16
16
}
Original file line number Diff line number Diff line change @@ -22,19 +22,7 @@ import {FocusTrap} from '../core/a11y/focus-trap';
22
22
import { ESCAPE } from '../core/keyboard/keycodes' ;
23
23
import { OverlayModule } from '../core/overlay/overlay-directives' ;
24
24
import { InteractivityChecker } from '../core/a11y/interactivity-checker' ;
25
- < < < << << ebeb579c60bb44de259764cd9d226ea92252671e
26
- < << << << 38 f2302c080b3941ee7be5289c9a47a0d1a3bcef
27
25
import { ScrollDispatcher } from '../core/overlay/scroll/scroll-dispatcher' ;
28
- === === =
29
- import { MdLiveAnnouncer } from '../core/a11y/live-announcer' ;
30
- << << << < 7 f62f0a674630555a66a123367e701089f68e338
31
- import { ScrollDispatcher } from '../core/scroll/scroll-dispatcher' ;
32
- >>> >>> > review response
33
- === = ===
34
- === = ===
35
- > >>> > >> make lint happy
36
- import { ScrollDispatcher } from '../core/overlay/scroll/scroll-dispatcher' ;
37
- > >>> >>> move scroll to overlay
38
26
39
27
40
28
/** Exception thrown when two MdSidenav are matching the same side. */
You can’t perform that action at this time.
0 commit comments