Tooltip (data-tooltip-content=…) only pops up when hovering the magnifying glass button #13500

Open
opened 2025-11-02 10:44:31 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @bsofiato on GitHub (Sep 17, 2024).

Description

The tooltip associated with a search combo only appears when hovering the accompanying magnifying glass button. I think it would be nicer if the tooltip appears when hovering over the search component as a whole (i.e., if I hover over the associated text field, the tooltip should also pop up).

If you guys agree with this, I can provide a PR :)

Screenshots

The first screenshot show the tooltip beign visible when hovering the magnifiying glass

image

In the second screenshot, the tooltip is hidden, even when hovering the associated search text field

image

P.S. The screenshots were taken in Gitea Demo Site

Gitea Version

1.22.1

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Windows 10

Browser Version

Chrome 128.0.6613.138

Originally created by @bsofiato on GitHub (Sep 17, 2024). ### Description The tooltip associated with a [search combo](https://github.com/go-gitea/gitea/blob/main/templates/shared/search/combo.tmpl) only appears when hovering the accompanying magnifying glass button. I think it would be nicer if the tooltip appears when hovering over the search component as a whole (i.e., if I hover over the associated text field, the tooltip should also pop up). If you guys agree with this, I can provide a PR :) ### Screenshots The first screenshot show the tooltip beign visible when hovering the magnifiying glass ![image](https://github.com/user-attachments/assets/d242b30f-2ce2-444e-9991-4195b27eb3d9) In the second screenshot, the tooltip is hidden, even when hovering the associated search text field ![image](https://github.com/user-attachments/assets/769b013e-fbba-4c10-aa13-680b7c909415) P.S. The screenshots were taken in [Gitea Demo Site](https://demo.gitea.com/snirben/test1/commits/branch/main) ### Gitea Version 1.22.1 ### Can you reproduce the bug on the Gitea demo site? Yes ### Operating System Windows 10 ### Browser Version Chrome 128.0.6613.138
GiteaMirror added the topic/uitype/bug labels 2025-11-02 10:44:31 -06:00
Author
Owner

@delvh commented on GitHub (Sep 17, 2024):

Sounds good

@delvh commented on GitHub (Sep 17, 2024): Sounds good
Author
Owner

@lunny commented on GitHub (Sep 17, 2024):

How about making them as placeholder?

@lunny commented on GitHub (Sep 17, 2024): How about making them as placeholder?
Author
Owner

@bsofiato commented on GitHub (Sep 18, 2024):

How about making them as placeholder?

I think it would be preferrable, yes. For me, placeholders feels more mobile friendly. However, some search combos use both and have different texts on the tooltip and the placeholder :(

@bsofiato commented on GitHub (Sep 18, 2024): > How about making them as placeholder? I think it would be preferrable, yes. For me, placeholders feels more mobile friendly. However, some search combos use both and have different texts on the tooltip and the placeholder :(
Author
Owner

@lunny commented on GitHub (Sep 22, 2024):

But the text is too long and it cannot be displayed in total in mobile screen.

@lunny commented on GitHub (Sep 22, 2024): But the text is too long and it cannot be displayed in total in mobile screen.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13500