-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#55581] make hover card work with avatar fallbacks
This was a hard one to debug. When you hover over an avatar as soon as the page loads, you will hover over the fallback first. Within the timeout, the actual avatar image loads and replaces the fallback. After that, the timeout of the hover trigger runs out and displays the hover cards, but does no longer have an element to position relative to. So, we check for the existence of the hovered element before showing a hover card to fix this.
- Loading branch information
Showing
1 changed file
with
26 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters