Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wait a sec before showing card #3516

Merged
merged 1 commit into from
Apr 12, 2024
Merged

wait a sec before showing card #3516

merged 1 commit into from
Apr 12, 2024

Conversation

haileyok
Copy link
Contributor

@haileyok haileyok commented Apr 12, 2024

Small timeout before showing card so it doesn't show up immediately while moving cursor around.

@haileyok haileyok requested a review from pfrazee April 12, 2024 23:48
if (targetClicked.current) return
setHovered(true)
} else {
await prefetchProfileQuery(props.did)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just changed to await because the functions were getting a little out of hand after adding the timeout

@haileyok haileyok merged commit 7d01ff9 into main Apr 12, 2024
6 checks passed
@haileyok haileyok deleted the hailey/timeout-for-hover branch April 12, 2024 23:51
Copy link

Old size New size Diff
6.4 MB 6.4 MB 81 B (0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants