Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Selecting text is laggy #1

Closed
loudar opened this issue Oct 2, 2023 · 4 comments
Closed

Selecting text is laggy #1

loudar opened this issue Oct 2, 2023 · 4 comments
Labels
bug Something isn't working cosmetic Visual appearance or otherwise not necessarily a functional issue

Comments

@loudar
Copy link

loudar commented Oct 2, 2023

Fix it pls

@arimelody
Copy link
Owner

arimelody commented Oct 2, 2023

i'm noticing a little bit of lag selecting text on chromium, though strangely i don't see this behaviour on firefox. worth having a look at, but i wouldn't know the root cause of this

edit: thought this was an issue for openterminal, whoops!
i don't see this issue on chromium, but do see it on firefox... what????

@arimelody arimelody added bug Something isn't working cosmetic Visual appearance or otherwise not necessarily a functional issue labels Oct 2, 2023
@loudar
Copy link
Author

loudar commented Oct 2, 2023

If the glow is done with css, it might be a slow implementation of the glow maybe or smth along those lines

@arimelody
Copy link
Owner

that would make sense if it didn't behave so differently across both pages and browser combinations... as if one thing is bogging chrome down, and one thing is bogging firefox down, but neither of them are shared?

@arimelody arimelody added the help wanted Extra attention is needed label Oct 2, 2023
@arimelody
Copy link
Owner

after some experimentation on both openterminal and arimelody.me, i can confirm that removing the text glow drastically improves performance on chromium.

turns out blurring lots of text across a large radius is checks papers not performant.

this issue can be lessened a lot by using one text-shadow at around 2em, as opposed to the current 3em + 1em stack that OT uses. i'll apply patches to both codebases!

@arimelody arimelody removed the help wanted Extra attention is needed label Oct 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working cosmetic Visual appearance or otherwise not necessarily a functional issue
Projects
None yet
Development

No branches or pull requests

2 participants