getodk / getodk/central

Make hover cards interactive

Open
#856 0 comments 0 reactions 0 assignees View on GitHub
frontend
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

Right now, it's not possible to hover over a hover card (or at least it's not meant to be possible). As soon as you hover away from the element that showed the hover card, even if it's to mouse into the hover card, that will have the effect of hiding the hover card. However, there could be benefits in allowing the user to mouse into hover cards:

- Users could see tooltips over truncated text.
- Scrolling through the list of entity properties
- Linking (e.g., from the hover card for a submission to the listed form)
- Users would be able to select and copy text shown in the hover card.

@sadiqkhoja suggested this idea during code review: https://github.com/getodk/central-frontend/pull/1067#discussion_r1876898861

issa wrote about this idea on Slack:

> we can upgrade them to be interactive someday

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.