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
prevent-link-loss hides the comment box in v26.8.8 #9955
Other things:
Issue happens with or without a token.
Comment box shows up and then is removed after a moment.
The bisect ext feature didn't help, I had to bisect manually like a caveman.
I don't know, all I can say is that I created a new browser profile to test and it's the same. Still maybe something on my side, who knows. I was surprised nobody wrote about it before me.
If I remove display: flex; from .MarkdownEditor-module__container__H4O8J, it fixes it. If I return it back, it stays fixed. Next refresh breaks it. No idea if that helps.
So this is 100% triggering some Chrome bug probably related to container queries. display:flex doesn't actually make a difference, but toggling it on and off forces Chrome to correctly recalculate the size of the elements.
I also found that a plain target.append('hello') is enough to trigger the bug, but using await delay(100) before doing that will prevent it.
Strangely enough, I also was unable to identify the feature via bisect, so I thank you for locating it manually.
Hopefully not many people are affected by it thanks to the hotfix. I'll also look for some CSS hotfix to trigger the recalculation.
changed the title [-]`prevent-link-loss` hides the comment box starting from today[/-][+]`prevent-link-loss` hides the comment box in v26.8.8[/+]on Aug 8, 2026
Not sure if related to this issue directly, but this feature is also preventing the text field from getting focus when I click the "+" button on a line to add a comment. When disabled, I can immediately start typing my comment. When enabled, I am forced to select the text field with my cursor first.
Activity
justanotheranonymoususer commentedon Aug 8, 2026
Other things:
Issue happens with or without a token.
Comment box shows up and then is removed after a moment.
The bisect ext feature didn't help, I had to bisect manually like a caveman.
fregante commentedon Aug 8, 2026
Ow sh. Are you sure it's that feature and it's not just CSS? I'm gonna disable it preemptively
Disable `prevent-link-loss`
justanotheranonymoususer commentedon Aug 8, 2026
I don't know, all I can say is that I created a new browser profile to test and it's the same. Still maybe something on my side, who knows. I was surprised nobody wrote about it before me.
fregante commentedon Aug 8, 2026
The feature's code is pretty straightforward, it exclusively mounts a component. Svelte's mount() only appends elements, unlike React's.
My guess is that maybe somehow GitHub's component is breaking as a consequence of that?
justanotheranonymoususer commentedon Aug 8, 2026
If I remove
display: flex;from.MarkdownEditor-module__container__H4O8J, it fixes it. If I return it back, it stays fixed. Next refresh breaks it. No idea if that helps.fregante commentedon Aug 8, 2026
That's somewhat of good news since it means it can be fixed via CSS alone. I'll take a look later
Jiralite commentedon Aug 8, 2026
Chiming in to say this also affects reviews since I do not see it mentioned:
For me, using the bisect feature for this worked.
Also, with prevent-link-loss enabled, the comment box on this issue is hidden, but it is visible for me on discord/discord-api-docs#8531.
fregante commentedon Aug 8, 2026
So this is 100% triggering some Chrome bug probably related to container queries.
display:flexdoesn't actually make a difference, but toggling it on and off forces Chrome to correctly recalculate the size of the elements.I also found that a plain
target.append('hello')is enough to trigger the bug, but usingawait delay(100)before doing that will prevent it.Strangely enough, I also was unable to identify the feature via bisect, so I thank you for locating it manually.
Hopefully not many people are affected by it thanks to the hotfix. I'll also look for some CSS hotfix to trigger the recalculation.
26.8.8 `prevent-link-loss` hotfix
fregante commentedon Aug 8, 2026
Current status:
prevent-link-lossdisabled entirely, CSS hotfix also added.If you're experiencing this issue, visit the options page and click "Update hotfixes" in the hotfixes section.
You can also alternatively use this CSS, but you shouldn't need to:
Manual CSS
Permanent fix
Not sure, I can keep this CSS in the extension until the bug is fixed.
Now I'm curious to know why the bisect can't locate it.
[-]`prevent-link-loss` hides the comment box starting from today[/-][+]`prevent-link-loss` hides the comment box in v26.8.8[/+]Restore `prevent-link-loss` thanks to CSS hotfix
fregante commentedon Aug 12, 2026
jakeatoms commentedon Aug 12, 2026
Not sure if related to this issue directly, but this feature is also preventing the text field from getting focus when I click the "+" button on a line to add a comment. When disabled, I can immediately start typing my comment. When enabled, I am forced to select the text field with my cursor first.
`prevent-link-loss` hotfix-disable again
`prevent-link-loss` - Restore on 26.8.20
github-actions commentedon Aug 24, 2026
To maintainers: Disable the hotfix by adding
26.8.24to https://github.com/refined-github/yolo/edit/main/broken-features.csvfregante commentedon Sep 5, 2026
@jakeatoms did v26.9 fix that issue for you? If not, please open an issue with a screencast (e.g. via LICEcap) showing the problem