client
client copied to clipboard
Can't open sidebar when annotation target is a link
When an annotation targets a link, the link activates as normal, which means that we see the sidebar open just in time for the page to refresh with the new location. The only way to see such an annotation is to open the sidebar and find it there - no way to see those annotations from the text itself.
See current behavior here: http://jonudell.info/h/highlight-coincides-with-link.mp4
Steps to reproduce
- Browse to http://conf.a11yto.com/playlist
- Select "Public" from group selector if not already selected
- Click on any highlighted link (talk titles are good examples)
Expected behaviour
Need to figure this out - one approach might be to stop propagation of the click and show a clickable link so that it's still navigable, similar to Google Docs:
Actual behaviour
Sidebar opens, but page immediately navigates to new URL.
Browser/system information
macOS Mojave/Chrome
@ajpeddakotla If this is still relevant, could you open a new issue for it? Thanks!
The same behavior still exists. As relevant now as it was then.
Noted. Can you copy this into a new issue so I'm not involved? Thanks.
@dwolfe could you turn off notifications for this repo rather than closing issues? Let’s not create more work when it’s not needed. Thanks!
Other tickets: https://hypothesis.zendesk.com/agent/tickets/11025
Wow, this issue has been there for years! One workaround is the one Michael/helpdesk gave me which is going the other direction around to find the annotation within the sidebar, not very good but is the best available so far. The other workaround is to highlight more neighbors if the target is a hyperlink.
Encountering this problem now. Another way that might work on mobile too might be to catch the link click and present two options to either go to the link or show the annotation similar to the way the highlight/annotate buttons appear when you highlight text?