You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the browser sees that the links is to the same page. As a result it doesn't reload the page. It looks for
an element with a matching id. Since that id doesn't exist on the page it fails.
Any idea on how to fix this? Maybe add a document listener for click. If the listener detects one of deeplink's
links it jumps down the page and selects the text.
Alternatively is there a function I can call to trigger deeplink if I pass it a fragment/url?
The text was updated successfully, but these errors were encountered:
This is a reasonable feature request, I'll take a look at implementing it. There's some complexity in making sure that the script itself changing the hash doesn't trigger scrolling/etc, but that shouldn't be too hard to fix.
My use case is to provide links to an update on a ticket. For example:
https://rouilj.dynamic-dns.net/demo/issue439#29VHfN7-JF:5H:8Z
links to text inside a message on a ticket. This works fine when the link is not
located on the page https://rouilj.dynamic-dns.net/demo/issue439 itself.
If you click on the link (see https://rouilj.dynamic-dns.net/demo/issue439#msg36017)
many times it does nothing.
I think the browser sees that the links is to the same page. As a result it doesn't reload the page. It looks for
an element with a matching id. Since that id doesn't exist on the page it fails.
Any idea on how to fix this? Maybe add a document listener for click. If the listener detects one of deeplink's
links it jumps down the page and selects the text.
Alternatively is there a function I can call to trigger deeplink if I pass it a fragment/url?
The text was updated successfully, but these errors were encountered: