Micro lag when scrolling in Tauri macOS version (WKWebView) but not in Safari. #8436
Unanswered
HugoOlsson
asked this question in
Q&A
Replies: 3 comments
-
It's kind of like the app is locked in 60 Hz. I use a 120 Hz display so Safari and Chrome renders in 120 Hz. Can there be such limitation in max frame rate for the app? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have a similar problem, the app is limited to 60FPS and in the browser I get 120FPS
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello I don't know if this is related, but have you tried passing a different browser agent to your web view? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am working on a project that uses a relatively simple layout. The problem is that the application has a very frequent and noticeable micro lag in the macOS version when scrolling. I tried in Chrome (using localhost) and it was completely smooth, so I thought that it was a difference between the rendering engines. However, I have now also tried in Safari using localhost and it is completely smooth there as well. Since WKWebView uses the same engine as Safari, something else must cause this.
I have just recently updated macOS to ensure that I have the latest WKWebView version (19617.1.17.11.9), so the problems should not be because of an outdated version. The Safari version I am using is: ”Version 17.2 (19617.1.17.11.9)”.
May there be a setting in WKWebView to make it handle things the same as Safari? And if yes, can I change that setting in Tauri?
May it be that WKWebView doesn't prioritize to use resources like Safari?
Is there anything else that can affect this? I have optimized the layout, so it should not be heavy to scroll.
Beta Was this translation helpful? Give feedback.
All reactions