Repository navigation
Commit 1b800fd
authored
Remove Tooltip mouse tracker listener & update hovering/MouseRegion logic & animation (#119199)
Fixes flutter/flutter#117627
### Behavior changes:
1. If fade in/fade out animation is already in progress, hiding/showing the tooltip will immediately take effect without waiting for `waitDuration`.
2. A PointerDownEvent that doesn't become a part of a "trigger" gesture dismisses the tooltip, even for hovered ones.
3. The OverlayEntry is now updated only when the previous tooltip was completely dismissed. This can be fixed by OverlayPortal but I'm not sure what the correct behavior is.1 parent 9da1d98 commit 1b800fd
7 files changed
Lines changed: 587 additions & 313 deletions
File tree
- examples/api/test/material/tooltip
- packages/flutter
- lib/src
- material
- painting
- test/material
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments