LemmyNet / lemmy

🐀 A link aggregator and forum for the fediverse
https://join-lemmy.org
GNU Affero General Public License v3.0
13.26k stars 881 forks source link

Quick bug on "context" button #702

Closed felipeforte closed 4 years ago

felipeforte commented 4 years ago

Currently running on Parabola GNU/Linux-libre and GNU IceCat web browser.

image

The context button (the chain icon) is not functioning properly. While I do not have the technical expertise to pinpoint exactly why, I noticed something that might help:

image

This is the "Inspector" tool of GNU IceCat showing how the "context" button (highlighted) breaks the pattern of all other functioning buttons. Hope this helps!

dessalines commented 4 years ago

The other ones are buttons that do in-page actions, that one is a link. I'd have to see a console.log for why it's not working, bc its working from Firefox and android right now.

sylviaji commented 4 years ago

I think it works if you click on the chain icon (the anchor element):

a

but won't work if you click on the green area (the button element excluding the chain icon):

button
dessalines commented 4 years ago

Ah okay, I think I can alter this.

felipeforte commented 4 years ago

I think it works if you click on the chain icon (the anchor element):

a

but won't work if you click on the green area (the button element excluding the chain icon):

button

Both clicks have the same behavior. Or should I say the absence of behavior haha

felipeforte commented 4 years ago

The other ones are buttons that do in-page actions, that one is a link. I'd have to see a console.log for why it's not working, bc its working from Firefox and android right now.

How can I have access to the console.log to share with you?

sylviaji commented 4 years ago

Ah okay, I think I can alter this.

I tried to do the nesting in the reverse way (button inside the link) and it works, not sure if that’s the best practice. But seems like it’s not what this issue is about.

sylviaji commented 4 years ago

Both clicks have the same behavior. Or should I say the absence of behavior haha

Hmm, what happens if you click on the link in your picture?

Screen Shot 2020-05-07 at 10 38 55 PM
felipeforte commented 4 years ago

Both clicks have the same behavior. Or should I say the absence of behavior haha

Hmm, what happens if you click on the link in your picture?

Screen Shot 2020-05-07 at 10 38 55 PM

I mean, I don't know what you mean by "clicking". It's on the Inspector tool, so if I click on it, it just prompts me to edit the HTML code.

If I, however, copy and paste that link, it works.