elk-zone / elk

A nimble Mastodon web client
https://elk.zone
MIT License
5.52k stars 567 forks source link

Clicking Reply took me to Explore #2912

Open joelanman opened 3 months ago

joelanman commented 3 months ago

I was just trying to reply to someone, I entered text then clicked Reply - it took me to Explore. I hit back and tried again, it happened again. I used the keyboard to tab to the button and hit enter, it worked.

MacOS, Safari, on main.elk.zone Version canary (4a3218d@main) Built 29 July 2024 at 03:23:20

Christopher-Hayes commented 3 months ago

Tried to reproduce on Ubuntu + Firefox, but was unable to reproduce (I was using posts that appear on the /profile page). It's probably related to on what page this post appeared that you were replying to, so it would be helpful if you had that information.

My guess is it would be the click event bubbling up to an element that links to /explore, which would be one explanation for why keyboard navigation still works.

joelanman commented 3 months ago

yeh hard to replicate, I've seen the same thing happen most often on the notifications page, where a click on one thing would actually activate something else

Christopher-Hayes commented 3 months ago

That's helpful, I'll try testing there.