Commit a98db66
authored
fix(chat): hide profile hover card when username is clicked (#29444)
Clicking a hovered username navigates to the profile, but the pending
debounced show (200ms) and DelayedMounting (300ms) timers were never
cancelled, so the card could pop up on top of the profile page after
navigation. Hide on mousedown on the anchor text; clicks inside the
portaled card (follow/chat buttons) still work.1 parent 167173a commit a98db66
1 file changed
Lines changed: 8 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
305 | 313 | | |
306 | 314 | | |
307 | 315 | | |
| |||
0 commit comments