Commit 69d7d5a
authored
add missing hover check to interactive effect (#156)
Previously, setting 'interactive' to true would inadvertently add mouseenter / mouseleave listeners to the tooltip. This makes interactive tooltips with other triggers behave as though they have the 'hover' trigger.
After this change, tooltips that are not triggered by 'hover' will no longer receive register these listeners.1 parent 510bc95 commit 69d7d5a
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
206 | 211 | | |
207 | 212 | | |
208 | 213 | | |
209 | 214 | | |
210 | 215 | | |
211 | 216 | | |
212 | 217 | | |
213 | | - | |
| 218 | + | |
214 | 219 | | |
215 | 220 | | |
216 | 221 | | |
| |||
0 commit comments