Hacker News new | ask | show | jobs
by depaulagu 1614 days ago
It's not copying the URL to my clipboard, would it be possible to expose the url as text so manual copying can be done?
2 comments

My partner noticed this too, but after a couple of tries the same button will work again. Really hard to debug unfortunately. It usually worked after a couple of tries. I just pushed a fix that greys out the link if there's no URL, hopefully that helps?
Can you really not just share the url and at most pre-highlight it?

On my phone I get a share sheet with additional text which makes visiting the url a pain

It's a normal anchor tag so you can right click or long press it to copy the link!
Doesn't work for me either, after many clicks.

macOS 11.6, Chrome 96.0.4664.55.

Super embarrassing. I fixed this now. I used event.target which was just the SVG of the icon if you clicked that instead of the text. (I also split the share button in two to make it easier to share)
Well this is embarrassing.

The event listener was using event.target which wasn't the correct node when you hit the icon. I have fixed this now!