Repository navigation
Commit e7a02bb
fix(tooltip): 修复页面滚动时tooltip不自动隐藏的问题 (#3310)
* Initial plan
* fix(tooltip): 修复页面滚动时tooltip不自动隐藏的问题 (#3307)
Co-authored-by: Alexzjt <9548248+Alexzjt@users.noreply.github.com>
* perf(tooltip): 对scroll事件处理器添加throttle优化性能
Co-authored-by: Alexzjt <9548248+Alexzjt@users.noreply.github.com>
* fix(tooltip): 将scroll处理器存储为类属性以避免内存泄漏
Co-authored-by: Alexzjt <9548248+Alexzjt@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Alexzjt <9548248+Alexzjt@users.noreply.github.com>1 parent 8be0068 commit e7a02bb
3 files changed
Lines changed: 17 additions & 1 deletion
File tree
- packages/s2-core
- __tests__/unit/interaction
- src
- common/constant/events
- interaction
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
| |||
542 | 543 | | |
543 | 544 | | |
544 | 545 | | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
545 | 555 | | |
546 | 556 | | |
547 | 557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| 133 | + | |
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
| |||
0 commit comments