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

Fix mobile usage issue for Info component #3064

Merged
merged 2 commits into from
Feb 6, 2025
Merged

Fix mobile usage issue for Info component #3064

merged 2 commits into from
Feb 6, 2025

Conversation

hughess
Copy link
Member

@hughess hughess commented Feb 2, 2025

Fixes issue with Info component where on mobile, hover to show tooltip did not work. Now clicks will work in addition to hover.

Comment on lines 31 to +35
<span
slot="trigger"
style:--textColor={textColor}
class="inline-block align-middle pb-0.5 pr-1 leading-4 w-fit {className}"
role="tooltip"
class="inline-block align-middle pb-0.5 pr-1 leading-4 w-fit {className} cursor-pointer"
role="button"
Copy link
Contributor

Choose a reason for hiding this comment

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

This works but we could also change the span to a button tag

@hughess hughess merged commit 087695c into next Feb 6, 2025
25 checks passed
@hughess hughess deleted the info-mobile branch February 6, 2025 12:51
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