Fix CSS features disappearing after clicking on a link#5752
Conversation
|
Working for me but has a very noticeable jump |
|
I've been noticing that jump too, but only sometimes (in a Safari window I always get a jump on reload, but on the other window I do not 😰). This is on 22.6.25 Screen.Recording.1.movEither way it's unrelated to this specific issue and we should probably open a new issue for that if it persists. The only reason why it could be happening is in |
|
is it refined-github/source/features/index.tsx Line 97 in 10d5754 |
|
RAAA LOL |
That's potentially the issue, but it's not really something new or anything that GitHub or us can affect, that's the weird part. We can replace it with an |
|
I forgot already how did we land up with document.body? I would want to check in history why we did not use observe element. We went though a few options before we came to this |
The content scripts are injected on Maybe we can combine the two in a race: await Promise.race([
frame(),
waitFor(() => document.body)
]) |
|
If I am not mistaken, requesting the frame broke Firefox. (GitHub froze) |
Almost! It wasn't the frame, but the logic around it: refined-github/source/features/index.tsx Lines 107 to 112 in bccacf0 More pre-bug context/assumptions #4316 (comment) Full explanation in #4316 (comment) Basically that's the code I just suggested |
cheap-glitch
left a comment
There was a problem hiding this comment.
Working on Firefox, but it is somewhat slower than before.
|
Btw there's still some |
|
That’s a web view in the native app. |

Test URLs
Before
Screen.Recording.mov
After
Screen.Recording.1.mov