Page MenuHomePhabricator

Profile link click area overflow?
Closed, ResolvedPublic

Description

Reproduction Steps

  • Go to a comment with a user mention (say https://secure.phabricator.com/T12376#214867)
  • Mouse over the user name to get user info popup
  • Move mouse around to different areas in the popup
  • The link is clickable along different areas in the popup and not just in the image.

First encountered on a local install. Tested on https://secure.phabricator.com/ and the problem exists.

Screenshot

pasted_file (221ร—722 px, 105 KB)

A quick look in Chrome inspector showed that the image is actually taking up the entire popup space for some reason.

Event Timeline

What is the bug that you're reporting here?

I going guess the here is that a small margin around the area of the hovercard is clickable? Or maybe your using a browser that displays a more nefarious issue? In Chrome/Mac I can't reproduce anything unexpected or can't find anything I'm prevented in doing, like copying text from the hovercard. Hovercards are meant to be small bits of information, and then click through to the profile. I'm not sure what "bug" there is in having a larger click area.

Yes, I was referring to a small area around the hovercard which was clickable. Not a big issue, but just something I noticed the other day. ๐Ÿ˜„

Why do you think its a bug?

When I checked the source code I saw that the anchor tag was being applied
to the profile image, so I assumed that the link should be clickable only
inside the area of the profile image.