Strange behaviour with CSS transitions/animations
- Dominant language
- JavaScript
- Stars
- 2k
- Forks
- 179
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
Thanks for putting this project together, it's been great to use so far!
\
I've recently noticed some strange behaviour when I add CSS transitions or animations to my program; the actual transitions and animations look fine, but they spike my GPU activity very unusually.
For instance, when implementing [this simple example](https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_zoom_hover), if I repeatedly hover on and off to invoke the transition, even very slowly, my GPU ramps up to 100% activity almost immediately.
As I said, the visuals themselves are always fine and there's no stuttering or chopiness, but it just triggers a huge strain on the GPU for some reason.
\
I have a dedicated GPU that's in perfect condition and can run AAA games, Blender, etc. without a problem, so I'm certain it isn't a hardware issue, and I don't experience any issues when messing with the above example in my browser, so I suspect it can only be something to do with the webview library.
I haven't seen any discussion of issues like this here or in the main webview repo, so I was just wondering if this is known behaviour or if there's anything I can change to work around the problem while still being able to use CSS transitions and animations?
(I'm on Pop!_OS by the way.)
\
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.