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
{{ message }}
Repository navigation
linkify-code, linkify-symbolic-links: all URLs are overlapping at the top #9136
We might have to anchor and append to the specific piece of linkified code.
In my first attempt a few years ago I was able to surface the original React DOM so that it became clickable. The issue then was that it required breaking some text nodes and syntax highlighting elements, so it was a bit risky for React.
This should mean that you might be able to place the overlays in these nodes and still surface them over the invisible textarea
changed the title [-]`linkify-code`: all URLs are overlapping at the top[/-][+]`linkify-code`, `linkify-symbolic-links`: all URLs are overlapping at the top[/+]on Apr 22, 2026
What I can do now is revert #8878 so at least we get the feature working on non-React views (basically just markdown code blocks at this point). PR welcome
Activity
SunsetTechuila commentedon Mar 29, 2026
Are you sure you're not using a dev version?
GalaxySnail commentedon Mar 29, 2026
I'm sure. I opened a new profile and installed refined-github from the extension store, and successfully reproduced this issue.
SunsetTechuila commentedon Mar 29, 2026
What are the versions?
GalaxySnail commentedon Mar 29, 2026
chromium
125.0.6422.142and firefox148.0.(I know my chromium version is pretty old, but firefox should be new enough.)
SunsetTechuila commentedon Mar 29, 2026
Nvm, I'm able to reproduce, but the steps are different:
linkifyURLsSunsetTechuila commentedon Mar 29, 2026
Or you can just switch between the files:
I'm pretty sure that wasn't a thing when #8989 was opened
SunsetTechuila commentedon Mar 29, 2026
And there is no element to which we can append links so they will be be automatically removed. Great
fregante commentedon Mar 29, 2026
I think there's at least one feature where we listen to react/URL events to remove elements as necessary.
auscompgeek commentedon Mar 30, 2026
I can also reproduce in Firefox (149 and 150) with RGH 26.3.21 by simply opening https://github.com/openai/openai-openapi/blob/manual_spec/openapi.yaml
(navigation not necessary, opening in a new tab will also trigger the bug there)
SunsetTechuila commentedon Mar 30, 2026
Anchoring doesn't work in Firefox if one of the anchor's ancestors has
position: absoluteand the anchored element isn't in the same DOM tree.Also the check is invalid:
refined-github/source/github-helpers/dom-formatters.tsx
Line 38 in 9ad9bc4
It should be:
SunsetTechuila commentedon Mar 30, 2026
The feature has issues with virtualized (>3500 LOC) code blobs in any browser:
`linkify-code` disable feature
`linkify-code` disable feature
SunsetTechuila commentedon Mar 31, 2026
Same issue with history navigation, jeez
fregante commentedon Mar 31, 2026
We might have to anchor and append to the specific piece of linkified code.
In my first attempt a few years ago I was able to surface the original React DOM so that it became clickable. The issue then was that it required breaking some text nodes and syntax highlighting elements, so it was a bit risky for React.
This should mean that you might be able to place the overlays in these nodes and still surface them over the invisible
textarea.git-blame-ignore-revs#9237`linkify-symbolic-links` disable feature
[-]`linkify-code`: all URLs are overlapping at the top[/-][+]`linkify-code`, `linkify-symbolic-links`: all URLs are overlapping at the top[/+]fregante commentedon May 11, 2026
@SunsetTechuila this feature can be enabled in PRs at least, they're not affected by this issue.
Test URL: https://github.com/refined-github/refined-github/pull/9422/changes
fregante commentedon Jul 15, 2026
What I can do now is revert #8878 so at least we get the feature working on non-React views (basically just markdown code blocks at this point). PR welcome
github-actions commentedon Jul 31, 2026
To maintainers: Disable the hotfix by adding
26.7.31to https://github.com/refined-github/yolo/edit/main/broken-features.csv`linkify-code` partially restored in 26.7.31