BDX-town / Mangane

Alternative frontend for Akkoma
https://bdx.town
GNU Affero General Public License v3.0
156 stars 27 forks source link

Like button focus area is over-large and can obstruct posts #272

Closed rjp closed 7 months ago

rjp commented 8 months ago

Using Safari Version 17.4 (19618.1.13.11.5), the like button (heart icon) activates its emoji popup when you're merely hovering nearby, not over the button itself.

Example screenshots (which caused me to accidentally emoji this post instead of clicking on the link)

Moving towards the link:

Screenshot 2024-03-02 at 11 11 59

Over the link but the emoji panel has popped up instead

Screenshot 2024-03-02 at 11 12 01

Seems like the target hover area for the emoji popup is that of the emoji popup itself rather than just the heart icon?

Cl0v1s commented 8 months ago

Hi that's an interesting issue indeed, will look into that !

Dehelssey commented 8 months ago

On Version 17.3.1 (19617.2.4.11.12) i don't have the issue 🤔 I'll update MacOS, brb^^

I still can't reproduce that behavior on version Version 17.4 (19618.1.15.11.12)

moreover, it' weird that you have a link in that post but no preview 🤔

Cl0v1s commented 8 months ago

Reading the code, I can see it's a bit weird on this part, and I think I know how @rjp can produce that situation.

Thanks for your repros @Dehelssey !

Since i'm working on custom emojis reaction on posts, I'm reworking that emoji bar a bit so I will try to fix that issue too

Cl0v1s commented 8 months ago

Should be fixed with https://github.com/BDX-town/Mangane/pull/280